summaryrefslogtreecommitdiffstats
path: root/src/quickfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index ff3e4ce09a..ca6cc40801 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3318,7 +3318,7 @@ set_errorlist(wp, list, action)
if (wp != NULL)
{
- qi = ll_get_or_alloc_list(curwin);
+ qi = ll_get_or_alloc_list(wp);
if (qi == NULL)
return FAIL;
}