summaryrefslogtreecommitdiff
path: root/pcomplete.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcomplete.c')
-rw-r--r--pcomplete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcomplete.c b/pcomplete.c
index d5b12e49..fe1a0320 100644
--- a/pcomplete.c
+++ b/pcomplete.c
@@ -1184,7 +1184,7 @@ gen_shell_function_matches (cs, cmd, text, line, ind, lwords, nw, cw, foundp)
/* XXX - should we filter the list of completions so only those matching
TEXT are returned? Right now, we do not. */
sl = strlist_create (0);
- sl->list = array_to_argv (a);
+ sl->list = array_to_argv (a, 0);
sl->list_len = sl->list_size = array_num_elements (a);
}