summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-28 21:58:29 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-28 21:58:29 +0200
commitaffc8fd2cda77fbd47df2594da417a9f9a9bb9b6 (patch)
treefe21aac3df88901e6b9268bb1db05ddd47004741 /src/os_unix.c
parenta0a9f43ab24928a0b01b6d91d084bf50a6dbefc2 (diff)
downloadvim-git-affc8fd2cda77fbd47df2594da417a9f9a9bb9b6.tar.gz
patch 8.2.0658: HP-UX build fails when setenv() is not definedv8.2.0658
Problem: HP-UX build fails when setenv() is not defined. Solution: Change "colors" to "t_colors". (John Marriott)
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 66903e081..f8fe2cb64 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4196,7 +4196,7 @@ set_child_environment(
vim_snprintf(envbuf_Columns, sizeof(envbuf_Columns),
"COLUMNS=%ld", columns);
putenv(envbuf_Columns);
- vim_snprintf(envbuf_Colors, sizeof(envbuf_Colors), "COLORS=%ld", colors);
+ vim_snprintf(envbuf_Colors, sizeof(envbuf_Colors), "COLORS=%ld", t_colors);
putenv(envbuf_Colors);
# ifdef FEAT_TERMINAL
if (is_terminal)