diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-09-07 21:18:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-09-07 21:18:43 +0000 |
commit | 46152344890a3517b76a9e355518d761f669939e (patch) | |
tree | 4533423531d879ef007dc90ff49059ee69b284e2 /src/option.c | |
parent | ffb8ab0402ac3d60118f27df153d463a106b4028 (diff) | |
download | vim-git-46152344890a3517b76a9e355518d761f669939e.tar.gz |
updated for version 7.0143
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
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))) |