summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-15 18:20:38 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-15 18:20:38 +0200
commit45aa07d3c126e887c614f8a4ebdb88aed673a9f1 (patch)
treec245e4a8c80872621b0dcc83c17aab9da55b3056
parentb46fecd3454399f8ebdc5055302e4bfc5a10f98b (diff)
downloadvim-git-45aa07d3c126e887c614f8a4ebdb88aed673a9f1.tar.gz
patch 8.1.1545: when the screen is to small there is no message about thatv8.1.1545
Problem: When the screen is to small there is no message about that. (Daniel Hahler) Solution: Do not use :cquit. (closes #4534)
-rw-r--r--src/testdir/runtest.vim7
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index f81c76df1..45d3b1d5e 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -38,8 +38,11 @@ if &lines < 24 || &columns < 80
echoerr error
split test.log
$put =error
- w
- cquit
+ write
+ split messages
+ call append(line('$'), error)
+ write
+ qa!
endif
if has('reltime')
diff --git a/src/version.c b/src/version.c
index e4ef380d8..51101f81c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1545,
+/**/
1544,
/**/
1543,