diff options
author | dana <dana@dana.is> | 2019-05-08 16:35:08 -0500 |
---|---|---|
committer | dana <dana@dana.is> | 2019-05-08 16:35:08 -0500 |
commit | c1a33575b4c522cea71c57664c852727fe6a633c (patch) | |
tree | 59729727c427c0bfb146a2fee3c00b652e298dab /Src | |
parent | cd6fd2b0a3641774e7854ff8298d1d82643c4b4a (diff) | |
download | zsh-c1a33575b4c522cea71c57664c852727fe6a633c.tar.gz zsh-c1a33575b4c522cea71c57664c852727fe6a633c.tar.xz zsh-c1a33575b4c522cea71c57664c852727fe6a633c.zip |
44275: Fix compset -p/-s multibyte inconsistency and documentation
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |