comparison src/gui.c @ 3539:81d5f3a3e27f v7.3.530

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)
author Bram Moolenaar <bram@vim.org>
date Fri, 25 May 2012 14:06:36 +0200
parents 7bafe52b6245
children c44f0f7424b9
comparison
equal deleted inserted replaced
3538:57b2fe37fd5b 3539:81d5f3a3e27f
100 gui_do_fork(); 100 gui_do_fork();
101 } 101 }
102 else 102 else
103 #endif 103 #endif
104 { 104 {
105 /* If there is 'f' in 'guioptions' and specify -g argument,
106 * gui_mch_init_check() was not called yet. */
107 if (gui_mch_init_check() != OK)
108 exit(1);
105 gui_attempt_start(); 109 gui_attempt_start();
106 } 110 }
107 111
108 if (!gui.in_use) /* failed to start GUI */ 112 if (!gui.in_use) /* failed to start GUI */
109 { 113 {