]> granicus.if.org Git - vim/commitdiff
patch 8.1.1545: when the screen is to small there is no message about that v8.1.1545
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 16:20:38 +0000 (18:20 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 16:20:38 +0000 (18:20 +0200)
Problem:    When the screen is to small there is no message about that.
            (Daniel Hahler)
Solution:   Do not use :cquit. (closes #4534)

src/testdir/runtest.vim
src/version.c

index f81c76df15c2c177263edee2f72bdb18241b56b0..45d3b1d5ef9759c67a785ac12ef56ab2592c6f9e 100644 (file)
@@ -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')
index e4ef380d881d48cd8b96e196a07c885dc4ac2e0f..51101f81c0b697f0690c005b72716d6509d346e9 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1545,
 /**/
     1544,
 /**/