forked from aniani/vim
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)
This commit is contained in:
3
src/ui.c
3
src/ui.c
@@ -298,6 +298,9 @@ ui_get_shellsize()
|
||||
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
|
||||
|
||||
@@ -719,6 +719,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
635,
|
||||
/**/
|
||||
634,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user