summaryrefslogtreecommitdiffstats
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-15 19:37:15 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-15 19:37:15 +0200
commit26910de8b0da6abab87bd5a397330f9cbe483309 (patch)
tree5a76a713818d0973f6774edabc17b8c13fb924fb /src/quickfix.c
parent0331faf71200a274377e1569fcda4f00c9cf3e2a (diff)
patch 8.1.1547: functionality of bt_nofile() is confusingv8.1.1547
Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename().
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 290f6bcccc..d2d3302636 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 (curbuf->b_p_bt[0] != 'q')
+ if (bt_quickfix(curbuf))
qf_set_cwindow_options();
// Only set the height when still in the same tab page and there is no