From: Bram Moolenaar Date: Fri, 25 May 2012 12:06:36 +0000 (+0200) Subject: updated for version 7.3.530 X-Git-Tag: v7.3.530 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a3c1b44e53ed72a4fb15213bdea0e451e6f6a06;p=thirdparty%2Fvim.git 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 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, /**/