summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-09 23:48:02 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-09 23:48:02 +0000
commitcf0c554e3f841eefd3208aee3f6359da3e6395f4 (patch)
treec80b9eafad4e38a20357f2fde5a4581ca35d575b /src/getchar.c
parent8b6144bdfe9efccab5045ebef9f3d5dcf5ee9d00 (diff)
updated for version 7.0195
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index ff821cb02f..5064c8d39b 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1534,7 +1534,7 @@ vgetc()
continue;
}
#endif
-#if defined(HAVE_GTK2) && defined(FEAT_MENU)
+#if defined(FEAT_GUI) && defined(HAVE_GTK2) && defined(FEAT_MENU)
/* GTK: <F10> normally selects the menu, but it's passed until
* here to allow mapping it. Intercept and invoke the GTK
* behavior if it's not mapped. */