summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-27 15:23:41 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-27 15:23:41 +0200
commit7adf06f4e25c795ba32ff0b2e8591330f6a41afb (patch)
treed5c6228247803f2b904b0641042bfb06c4e767cf /src/evalfunc.c
parent4ab7968aa9d8a624cd56f55b5cad2bedb240eb73 (diff)
patch 8.0.1006: quickfix list changes when parsing text with 'erroformat'v8.0.1006
Problem: Cannot parse text with 'erroformat' without changing a quickfix list. Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index c900b532c2..d11d96db94 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4810,7 +4810,7 @@ get_qf_loc_list(int is_qf, win_T *wp, typval_T *what_arg, typval_T *rettv)
{
if (rettv_list_alloc(rettv) == OK)
if (is_qf || wp != NULL)
- (void)get_errorlist(wp, -1, rettv->vval.v_list);
+ (void)get_errorlist(NULL, wp, -1, rettv->vval.v_list);
}
else
{