From 1557b16dad2b1a3466a93d015575cd7fdb4661c9 Mon Sep 17 00:00:00 2001 From: Wei-Chung Wen Date: Thu, 15 Jul 2021 13:13:39 +0200 Subject: patch 8.2.3163: location list window may open a wrong file Problem: Location list window may open a wrong file. Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565, closes #8566) --- src/quickfix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/quickfix.c') diff --git a/src/quickfix.c b/src/quickfix.c index 4ac4a01a10..39424ca680 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -3461,6 +3461,7 @@ qf_jump_newwin(qf_info_T *qi, } qfl->qf_index = qf_index; + qfl->qf_ptr = qf_ptr; if (qf_win_pos_update(qi, old_qf_index)) // No need to print the error message if it's visible in the error // window -- cgit v1.2.3