Mercurial > vim
comparison src/gui.c @ 3541:c44f0f7424b9 v7.3.531
updated for version 7.3.531
Problem: GUI does not work on MS-Windows.
Solution: Add the missing #ifdef. (Patrick Avery)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 27 May 2012 00:37:51 +0200 |
parents | 81d5f3a3e27f |
children | b9aa7fb4a928 |
comparison
equal
deleted
inserted
replaced
3540:809cb68ebb2b | 3541:c44f0f7424b9 |
---|---|
100 gui_do_fork(); | 100 gui_do_fork(); |
101 } | 101 } |
102 else | 102 else |
103 #endif | 103 #endif |
104 { | 104 { |
105 #ifdef FEAT_GUI_GTK | |
105 /* If there is 'f' in 'guioptions' and specify -g argument, | 106 /* If there is 'f' in 'guioptions' and specify -g argument, |
106 * gui_mch_init_check() was not called yet. */ | 107 * gui_mch_init_check() was not called yet. */ |
107 if (gui_mch_init_check() != OK) | 108 if (gui_mch_init_check() != OK) |
108 exit(1); | 109 exit(1); |
110 #endif | |
109 gui_attempt_start(); | 111 gui_attempt_start(); |
110 } | 112 } |
111 | 113 |
112 if (!gui.in_use) /* failed to start GUI */ | 114 if (!gui.in_use) /* failed to start GUI */ |
113 { | 115 { |