changeset 3753:f7f68f83fc33 v7.3.635

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)
author Bram Moolenaar <bram@vim.org>
date Thu, 23 Aug 2012 13:28:55 +0200
parents e8eff39df4f4
children a69d2c9c76ee
files src/ui.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui.c
+++ b/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
--- a/src/version.c
+++ b/src/version.c
@@ -720,6 +720,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    635,
+/**/
     634,
 /**/
     633,