diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-02-16 23:18:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-16 23:18:24 -0800 |
commit | 03f245c0b810fa2ff980bd3bf2530d94fd0f05d3 (patch) | |
tree | dbbd77ecb94314d118f0a9a9a001d33ba1b74053 /src/nvim/quickfix.c | |
parent | 0c5d2ffebe92e710ca57d4e3f0b0789ccc369660 (diff) | |
parent | 1ce4b3c9a7420227c3ecffab782cb8da732998f5 (diff) | |
download | rneovim-03f245c0b810fa2ff980bd3bf2530d94fd0f05d3.tar.gz rneovim-03f245c0b810fa2ff980bd3bf2530d94fd0f05d3.tar.bz2 rneovim-03f245c0b810fa2ff980bd3bf2530d94fd0f05d3.zip |
Merge #11873 from janlazo/vim-8.1.0786
vim-patch:8.0.1660,8.1.{43,786,1201,2129,2131,2187,2223,2259},8.2.{241,267}
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 71c6f06ac0..06ffa171ca 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -3845,7 +3845,7 @@ static void qf_fill_buffer(qf_list_T *qfl, buf_T *buf, qfline_T *old_last) *dirname = NUL; // Add one line for each error - if (old_last == NULL) { + if (old_last == NULL || old_last->qf_next == NULL) { qfp = qfl->qf_start; lnum = 0; } else { |