Mercurial > vim
comparison src/quickfix.c @ 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 | 10e0d7d96cb0 |
children | 0f7ae8010787 |
comparison
equal
deleted
inserted
replaced
17098:1bef6d143197 | 17099:54b3059311b5 |
---|---|
4133 } | 4133 } |
4134 | 4134 |
4135 // Set the options for the quickfix buffer/window (if not already done) | 4135 // Set the options for the quickfix buffer/window (if not already done) |
4136 // Do this even if the quickfix buffer was already present, as an autocmd | 4136 // Do this even if the quickfix buffer was already present, as an autocmd |
4137 // might have previously deleted (:bdelete) the quickfix buffer. | 4137 // might have previously deleted (:bdelete) the quickfix buffer. |
4138 if (bt_quickfix(curbuf)) | 4138 if (!bt_quickfix(curbuf)) |
4139 qf_set_cwindow_options(); | 4139 qf_set_cwindow_options(); |
4140 | 4140 |
4141 // Only set the height when still in the same tab page and there is no | 4141 // Only set the height when still in the same tab page and there is no |
4142 // window to the side. | 4142 // window to the side. |
4143 if (curtab == prevtab && curwin->w_width == Columns) | 4143 if (curtab == prevtab && curwin->w_width == Columns) |