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:
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 (;;) {
|
||||
|
Loading…
Reference in New Issue
Block a user