diff src/term.c @ 2673:5a1fe35a6eaf v7.3.092

updated for version 7.3.092 Problem: Resizing the window when exiting. Solution: Don't resize when exiting.
author Bram Moolenaar <bram@vim.org>
date Thu, 30 Dec 2010 14:47:36 +0100
parents 6a2e4860134b
children 8bd38abda314
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -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();
+    }
 }
 
 /*