]> granicus.if.org Git - vim/commitdiff
patch 8.1.1549: quickfix test fails v8.1.1549
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 19:56:17 +0000 (21:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 19:56:17 +0000 (21:56 +0200)
Problem:    Quickfix test fails.
Solution:   Negate result of bt_quickfix().

src/quickfix.c
src/version.c

index d2d33026360c5a1d36a8203cd6899ea56ab0caaf..8c25915326abcfd097063dd4ca202ec27a7448be 100644 (file)
@@ -4135,7 +4135,7 @@ qf_open_new_cwindow(qf_info_T *qi, int height)
     // Set the options for the quickfix buffer/window (if not already done)
     // Do this even if the quickfix buffer was already present, as an autocmd
     // might have previously deleted (:bdelete) the quickfix buffer.
-    if (bt_quickfix(curbuf))
+    if (!bt_quickfix(curbuf))
        qf_set_cwindow_options();
 
     // Only set the height when still in the same tab page and there is no
index 9d457038e1bc035f5760fefd94f73d35a5f1b149..4d491737b458af4f999ccccc7aa151701f322392 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1549,
 /**/
     1548,
 /**/