updated for version 7.3.530
Problem:    Gvim does not work when 'guioptions' includes "f". (Davido)
Solution:   Call gui_mch_init_check() when running GUI in the foreground.
            (Yasuhiro Matsumoto)
diff --git a/src/gui.c b/src/gui.c
index b216121..ed80844 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -102,6 +102,10 @@
     else
 #endif
     {
+	/* 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);
 	gui_attempt_start();
     }