summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-12-30 14:47:36 +0100
committerBram Moolenaar <Bram@vim.org>2010-12-30 14:47:36 +0100
commit9980835c68a718ac8616b85f595c5f957667e9a2 (patch)
tree85e8a93fd85fcb38c9ec16933b543e26072aff6f
parent946ffd4606e2b5011fdddb0c87dc7d8b4548a657 (diff)
downloadvim-9980835c68a718ac8616b85f595c5f957667e9a2.zip
updated for version 7.3.092
Problem: Resizing the window when exiting. Solution: Don't resize when exiting.
-rw-r--r--src/term.c11
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c
index 15a386493..f41c477c4 100644
--- 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();
+ }
}
/*
diff --git a/src/version.c b/src/version.c
index f1af5d334..88dd3be42 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 92,
+/**/
91,
/**/
90,