diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-12-30 14:47:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-12-30 14:47:36 +0100 |
commit | 9980835c68a718ac8616b85f595c5f957667e9a2 (patch) | |
tree | 85e8a93fd85fcb38c9ec16933b543e26072aff6f | |
parent | 946ffd4606e2b5011fdddb0c87dc7d8b4548a657 (diff) | |
download | vim-git-9980835c68a718ac8616b85f595c5f957667e9a2.tar.gz |
updated for version 7.3.092v7.3.092
Problem: Resizing the window when exiting.
Solution: Don't resize when exiting.
-rw-r--r-- | src/term.c | 11 | ||||
-rw-r--r-- | src/version.c | 2 |
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, |