comparison src/option.c @ 510:b47114409935

updated for version 7.0143
author vimboss
date Wed, 07 Sep 2005 21:18:43 +0000
parents 52e76e2b5b65
children a7ae7e043e43
comparison
equal deleted inserted replaced
509:c30adca15506 510:b47114409935
3285 idx = findoption((char_u *)"bg"); 3285 idx = findoption((char_u *)"bg");
3286 if (!(options[idx].flags & P_WAS_SET) 3286 if (!(options[idx].flags & P_WAS_SET)
3287 && (STRCMP(T_NAME, "linux") == 0 3287 && (STRCMP(T_NAME, "linux") == 0
3288 || STRCMP(T_NAME, "screen.linux") == 0 3288 || STRCMP(T_NAME, "screen.linux") == 0
3289 || STRCMP(T_NAME, "cygwin") == 0 3289 || STRCMP(T_NAME, "cygwin") == 0
3290 || ((p = mch_getenv("COLORFGBG")) != NULL 3290 || ((p = mch_getenv((char_u *)"COLORFGBG")) != NULL
3291 && (p = vim_strrchr(p, ';')) != NULL 3291 && (p = vim_strrchr(p, ';')) != NULL
3292 && ((p[1] >= '0' && p[1] <= '6') || p[1] == '8') 3292 && ((p[1] >= '0' && p[1] <= '6') || p[1] == '8')
3293 && p[2] == NUL))) 3293 && p[2] == NUL)))
3294 { 3294 {
3295 set_string_option_direct(NULL, idx, (char_u *)"dark", OPT_FREE); 3295 set_string_option_direct(NULL, idx, (char_u *)"dark", OPT_FREE);