0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Bram Moolenaar
2012-05-25 14:06:36 +02:00
parent 6057b9c658
commit 6a3c1b44e5
2 changed files with 6 additions and 0 deletions

View File

@@ -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();
}