slave: fix typo

```
../slave.c: In function 'slave_spawn':
../slave.c:441:21: error: 'custom_envp' undeclared (first use in this function); did you mean 'custom_env'?
  441 |         add_to_env(&custom_envp, "TERMINFO", FOOT_TERMINFO_PATH);
      |                     ^~~~~~~~~~~
      |                     custom_env
../slave.c:441:21: note: each undeclared identifier is reported only once for each function it appears in
```
This commit is contained in:
Artturin 2024-01-16 22:40:35 +02:00
parent 9da7152f83
commit 8073ad352b

View file

@ -438,7 +438,7 @@ slave_spawn(int ptmx, int argc, const char *cwd, char *const *argv,
del_from_env(&custom_env, "TERM_PROGRAM_VERSION");
#if defined(FOOT_TERMINFO_PATH)
add_to_env(&custom_envp, "TERMINFO", FOOT_TERMINFO_PATH);
add_to_env(&custom_env, "TERMINFO", FOOT_TERMINFO_PATH);
#endif
if (extra_env_vars != NULL) {