diff options
Diffstat (limited to 'Src/Zle')
-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 25a33b9cb..7a15eb077 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -221,7 +221,7 @@ parse_cmatcher(char *name, char *s) if (err) return pcm_err; - if ((both = (*s == '|'))) + if ((both = (*s && s[1] == '|'))) s++; if (!*s || !*++s) { |