From 6a3c1b44e53ed72a4fb15213bdea0e451e6f6a06 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 25 May 2012 14:06:36 +0200 Subject: [PATCH] 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) --- src/gui.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/gui.c b/src/gui.c index b216121cfe..ed80844f45 100644 --- a/src/gui.c +++ b/src/gui.c @@ -102,6 +102,10 @@ gui_start() 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(); } diff --git a/src/version.c b/src/version.c index fa1313acde..516737923a 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 530, /**/ 529, /**/