# HG changeset patch # User Bram Moolenaar # Date 1337947596 -7200 # Node ID 81d5f3a3e27fff9188ae34c41b939fc88c9837de # Parent 57b2fe37fd5bb9d3ebc94887aebc11e7556b3f61 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 --- 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 --- 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 */ /**/ + 530, +/**/ 529, /**/ 528,