diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-15 19:37:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-15 19:37:15 +0200 |
commit | 26910de8b0da6abab87bd5a397330f9cbe483309 (patch) | |
tree | 5a76a713818d0973f6774edabc17b8c13fb924fb /src/quickfix.c | |
parent | 0331faf71200a274377e1569fcda4f00c9cf3e2a (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.c | 2 |
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 |