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:
parent
11b0963bdc
commit
9d6048811c
1 changed files with 1 additions and 3 deletions
|
@ -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 (;;) {
|
||||
|
|
Loading…
Reference in a new issue