1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 00:41:44 +02: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;
add = -1;
} else {
p = compprefix + 1;
if (*p == Meta)
p++;
p = compprefix + 1 + (*compprefix == Meta);
add = 1;
}
for (;;) {