summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-15 21:56:17 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-15 21:56:17 +0200
commit61eeeea8e6455b1f36905c45a62ea8414f2f1dab (patch)
treebf8d3655bfabb771fa574f6df0a76261b5c5dad6 /src/quickfix.c
parenta42d945efc60e6130c15f72b5a5aa9fd2b63241a (diff)
downloadvim-git-61eeeea8e6455b1f36905c45a62ea8414f2f1dab.tar.gz
patch 8.1.1549: quickfix test failsv8.1.1549
Problem: Quickfix test fails. Solution: Negate result of bt_quickfix().
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index d2d330263..8c2591532 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -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