Mercurial > vim
changeset 17099:54b3059311b5 v8.1.1549
patch 8.1.1549: quickfix test fails
commit https://github.com/vim/vim/commit/61eeeea8e6455b1f36905c45a62ea8414f2f1dab
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 15 21:56:17 2019 +0200
patch 8.1.1549: quickfix test fails
Problem: Quickfix test fails.
Solution: Negate result of bt_quickfix().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Jun 2019 22:00:07 +0200 |
parents | 1bef6d143197 |
children | 1ae2ef73bcd0 |
files | src/quickfix.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/quickfix.c +++ b/src/quickfix.c @@ -4135,7 +4135,7 @@ qf_open_new_cwindow(qf_info_T *qi, int h // 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