]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.092 v7.3.092
authorBram Moolenaar <Bram@vim.org>
Thu, 30 Dec 2010 13:47:36 +0000 (14:47 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 30 Dec 2010 13:47:36 +0000 (14:47 +0100)
Problem:    Resizing the window when exiting.
Solution:   Don't resize when exiting.

src/term.c
src/version.c

index 15a386493e05f76d353c455b76f1dd6214196495..f41c477c41d0903356394d41b12136aab84b2d9b 100644 (file)
@@ -3053,10 +3053,13 @@ shell_resized_check()
     int                old_Rows = Rows;
     int                old_Columns = Columns;
 
-    (void)ui_get_shellsize();
-    check_shellsize();
-    if (old_Rows != Rows || old_Columns != Columns)
-       shell_resized();
+    if (!exiting)
+    {
+       (void)ui_get_shellsize();
+       check_shellsize();
+       if (old_Rows != Rows || old_Columns != Columns)
+           shell_resized();
+    }
 }
 
 /*
index f1af5d3340d794d8715143dfce0081f3bc94414c..88dd3be4281da3d9cd0046cca98022b7be6cc636 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    92,
 /**/
     91,
 /**/