1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-21 00:01:26 +01:00

Fixed bug in do_comp_vars() when *compprefix is a metified char.

This commit is contained in:
Wayne Davison 2005-08-16 21:49:33 +00:00
parent 11b0963bdc
commit 9d6048811c

View file

@ -820,9 +820,7 @@ do_comp_vars(int test, int na, char *sa, int nb, char *sb, int mod)
na = -na;
add = -1;
} else {
p = compprefix + 1;
if (*p == Meta)
p++;
p = compprefix + 1 + (*compprefix == Meta);
add = 1;
}
for (;;) {