commit | 6a3c1b44e53ed72a4fb15213bdea0e451e6f6a06 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 25 14:06:36 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 25 14:06:36 2012 +0200 |
tree | 90c23a831b4d79a5968619534eecb652e1cee036 | |
parent | 6057b9c658d9f05286675ee417bf1de9d3ca5aff [diff] [blame] |
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(); }