summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-07 21:18:43 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-07 21:18:43 +0000
commit46152344890a3517b76a9e355518d761f669939e (patch)
tree4533423531d879ef007dc90ff49059ee69b284e2 /src/option.c
parentffb8ab0402ac3d60118f27df153d463a106b4028 (diff)
downloadvim-git-46152344890a3517b76a9e355518d761f669939e.tar.gz
updated for version 7.0143
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index bfe3ed6d0..2c71c3627 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3287,7 +3287,7 @@ set_init_2()
&& (STRCMP(T_NAME, "linux") == 0
|| STRCMP(T_NAME, "screen.linux") == 0
|| STRCMP(T_NAME, "cygwin") == 0
- || ((p = mch_getenv("COLORFGBG")) != NULL
+ || ((p = mch_getenv((char_u *)"COLORFGBG")) != NULL
&& (p = vim_strrchr(p, ';')) != NULL
&& ((p[1] >= '0' && p[1] <= '6') || p[1] == '8')
&& p[2] == NUL)))