diff options
author | Wei-Chung Wen <morisato3711@gmail.com> | 2021-07-15 13:13:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-15 13:13:39 +0200 |
commit | 1557b16dad2b1a3466a93d015575cd7fdb4661c9 (patch) | |
tree | 958c6b32a7a66e5afb8949e3763dd5fa639ee208 /src/quickfix.c | |
parent | 1a71d31bf34b0b2b08517903826004ec6fd440e5 (diff) | |
download | vim-git-1557b16dad2b1a3466a93d015575cd7fdb4661c9.tar.gz |
patch 8.2.3163: location list window may open a wrong filev8.2.3163
Problem: Location list window may open a wrong file.
Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
closes #8566)
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 4ac4a01a1..39424ca68 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 |