changeset 3541:c44f0f7424b9 v7.3.531

updated for version 7.3.531 Problem: GUI does not work on MS-Windows. Solution: Add the missing #ifdef. (Patrick Avery)
author Bram Moolenaar <bram@vim.org>
date Sun, 27 May 2012 00:37:51 +0200
parents 809cb68ebb2b
children 1c6b099ead89
files src/gui.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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();
     }
 
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    531,
+/**/
     530,
 /**/
     529,