From c1a33575b4c522cea71c57664c852727fe6a633c Mon Sep 17 00:00:00 2001 From: dana Date: Wed, 8 May 2019 16:35:08 -0500 Subject: 44275: Fix compset -p/-s multibyte inconsistency and documentation --- Src/Zle/complete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c index c2f46c7f5..7d9751fa6 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -1011,7 +1011,7 @@ do_comp_vars(int test, int na, char *sa, int nb, char *sb, int mod) } } else #endif - if ((int)strlen(test == CVT_PRENUM ? compprefix : compsuffix) >= na) + if ((int)strlen(test == CVT_PRENUM ? compprefix : compsuffix) < na) return 0; if (test == CVT_PRENUM) ignore_prefix(na); -- cgit 1.4.1