diff options
Diffstat (limited to 'readline/complete.c')
-rw-r--r-- | readline/complete.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/readline/complete.c b/readline/complete.c index 7a1e6d9..a9c46df 100644 --- a/readline/complete.c +++ b/readline/complete.c @@ -1994,8 +1994,7 @@ rl_completion_matches (text, entry_function) match_list[1] = (char *)NULL; _rl_interrupt_immediately++; - while (string = (*entry_function) (text, matches) - && matches <= rl_completion_query_items) + while (string = (*entry_function) (text, matches)) { if (matches + 1 == match_list_size) match_list = (char **)xrealloc |