0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1549: quickfix test fails

Problem:    Quickfix test fails.
Solution:   Negate result of bt_quickfix().
This commit is contained in:
Bram Moolenaar
2019-06-15 21:56:17 +02:00
parent a42d945efc
commit 61eeeea8e6
2 changed files with 3 additions and 1 deletions

View 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