comparison src/ui.c @ 3770:fdac34e3afa5 v7.3.643

updated for version 7.3.643 Problem: MS-Windows: When starting gvim maximized 'lines' and 'columns' are wrong. (Christian Robinson) Solution: Move the check for gui.starting from ui_get_shellsize() to check_shellsize().
author Bram Moolenaar <bram@vim.org>
date Wed, 29 Aug 2012 16:26:04 +0200
parents f7f68f83fc33
children cd6c420e31d6
comparison
equal deleted inserted replaced
3769:1c1c077a7393 3770:fdac34e3afa5
296 ui_get_shellsize() 296 ui_get_shellsize()
297 { 297 {
298 int retval; 298 int retval;
299 299
300 #ifdef FEAT_GUI 300 #ifdef FEAT_GUI
301 if (gui.starting)
302 /* possibly a system call during startup, check later */
303 return OK;
304 if (gui.in_use) 301 if (gui.in_use)
305 retval = gui_get_shellsize(); 302 retval = gui_get_shellsize();
306 else 303 else
307 #endif 304 #endif
308 retval = mch_get_shellsize(); 305 retval = mch_get_shellsize();