commit | 4d93dc2699845009e0f263ed10196309c1175c2e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 23 13:28:55 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 23 13:28:55 2012 +0200 |
tree | 8b7c6cd1ef953a3195d60d914306e1af880ef4af | |
parent | b9ce83e135331d74f09ec094528243f33c3ada85 [diff] [blame] |
updated for version 7.3.635 Problem: Issue 21: System call during startup sets 'lines' to a wrong value. (Karl Yngve) Solution: Don't set the shell size while the GUI is still starting up. (Christian Brabandt)
diff --git a/src/ui.c b/src/ui.c index d164376..b00b7fe 100644 --- a/src/ui.c +++ b/src/ui.c
@@ -298,6 +298,9 @@ int retval; #ifdef FEAT_GUI + if (gui.starting) + /* possibly a system call during startup, check later */ + return OK; if (gui.in_use) retval = gui_get_shellsize(); else