summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-05-27 00:37:51 +0200
committerBram Moolenaar <Bram@vim.org>2012-05-27 00:37:51 +0200
commitae084bb97c5233ce9a319e42f3c886e99e87f8f7 (patch)
tree61875646c8ac69fc7ad8852ca1499ad9451e7f03 /src/gui.c
parent6a3c1b44e53ed72a4fb15213bdea0e451e6f6a06 (diff)
downloadvim-git-ae084bb97c5233ce9a319e42f3c886e99e87f8f7.tar.gz
updated for version 7.3.531v7.3.531
Problem: GUI does not work on MS-Windows. Solution: Add the missing #ifdef. (Patrick Avery)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index ed80844f4..caf1f1205 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -102,10 +102,12 @@ gui_start()
else
#endif
{
+#ifdef FEAT_GUI_GTK
/* If there is 'f' in 'guioptions' and specify -g argument,
* gui_mch_init_check() was not called yet. */
if (gui_mch_init_check() != OK)
exit(1);
+#endif
gui_attempt_start();
}