aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-30 18:30:36 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-03-30 20:32:27 +0800
commit06cf205aced6b0d5b7ae919665f2ab3fd81ab960 (patch)
tree0a2e9229bbb54fc6b16d4a9bc1cd8f6b2a2ab982 /src/nvim/quickfix.c
parent4ca14b310cc385bd7ebb6e478ee5cc249f26556e (diff)
downloadrneovim-06cf205aced6b0d5b7ae919665f2ab3fd81ab960.tar.gz
rneovim-06cf205aced6b0d5b7ae919665f2ab3fd81ab960.tar.bz2
rneovim-06cf205aced6b0d5b7ae919665f2ab3fd81ab960.zip
vim-patch:8.2.4649: various formatting problems
Problem: Various formatting problems. Solution: Improve the code formatting. https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 9ee7b1cc8a..c8d9e91fb5 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -2780,6 +2780,7 @@ static int qf_jump_edit_buffer(qf_info_T *qi, qfline_T *qf_ptr, int forceit, int
// present.
if (qfl_type == QFLT_LOCATION) {
win_T *wp = win_id2wp(prev_winid);
+
if (wp == NULL && curwin->w_llist != qi) {
emsg(_("E924: Current window was closed"));
*opened_window = false;