1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +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

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