diff options
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index b7d07af8d8..26687f14f0 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -5066,13 +5066,6 @@ static int qf_setprop_items(qf_info_T *qi, int qf_idx, dictitem_T *di, const int retval = qf_add_entries(qi, qf_idx, di->di_tv.vval.v_list, title_save, action == ' ' ? 'a' : action); - if (action == 'r') { - // When replacing the quickfix list entries using - // qf_add_entries(), the title is set with a ':' prefix. - // Restore the title with the saved title. - xfree(qi->qf_lists[qf_idx].qf_title); - qi->qf_lists[qf_idx].qf_title = vim_strsave(title_save); - } xfree(title_save); return retval; |