comparison src/eval.c @ 2318:9cf111138fb9 vim73

Allow synIDattr() getting GUI attributes when build without GUI. (Matt Wozniski)
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Jul 2010 22:04:22 +0200
parents 4b00cb7347fc
children 966a5609669e
comparison
equal deleted inserted replaced
2317:2b2cd34569eb 2318:9cf111138fb9
16951 what = get_tv_string(&argvars[1]); 16951 what = get_tv_string(&argvars[1]);
16952 if (argvars[2].v_type != VAR_UNKNOWN) 16952 if (argvars[2].v_type != VAR_UNKNOWN)
16953 { 16953 {
16954 mode = get_tv_string_buf(&argvars[2], modebuf); 16954 mode = get_tv_string_buf(&argvars[2], modebuf);
16955 modec = TOLOWER_ASC(mode[0]); 16955 modec = TOLOWER_ASC(mode[0]);
16956 if (modec != 't' && modec != 'c' 16956 if (modec != 't' && modec != 'c' && modec != 'g')
16957 #ifdef FEAT_GUI
16958 && modec != 'g'
16959 #endif
16960 )
16961 modec = 0; /* replace invalid with current */ 16957 modec = 0; /* replace invalid with current */
16962 } 16958 }
16963 else 16959 else
16964 { 16960 {
16965 #ifdef FEAT_GUI 16961 #ifdef FEAT_GUI