commit | 61623362bedd22659d4fbf8ea6f55f5c8c5285e8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jul 14 22:04:22 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jul 14 22:04:22 2010 +0200 |
tree | eacdcf0fe7eb88bdd80cfd321f85ec314953bbdc | |
parent | 865242e121405fe0f2de8223662e68c1da51a55e [diff] [blame] |
Allow synIDattr() getting GUI attributes when build without GUI. (Matt Wozniski)
diff --git a/src/eval.c b/src/eval.c index 9339e61..f3fd5ff 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -16953,11 +16953,7 @@ { mode = get_tv_string_buf(&argvars[2], modebuf); modec = TOLOWER_ASC(mode[0]); - if (modec != 't' && modec != 'c' -#ifdef FEAT_GUI - && modec != 'g' -#endif - ) + if (modec != 't' && modec != 'c' && modec != 'g') modec = 0; /* replace invalid with current */ } else