From 771c42fdb140e87a9bc95b4051152c24934fb45c Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 2 Nov 1999 21:59:28 +0000 Subject: zsh-workers/8495 --- Src/Zle/compcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Zle') diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index ceee468b0..b37855fd0 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -1887,7 +1887,7 @@ add_match_data(int alt, char *str, Cline line, p = bld_parts(ppre, ppl, ppl, &lp); if (lp->prefix && !(line->flags & (CLF_SUF | CLF_MID)) && - !p->llen && !p->wlen && !p->olen) { + !lp->llen && !lp->wlen && !lp->olen) { Cline lpp; for (lpp = lp->prefix; lpp->next; lpp = lpp->next); @@ -1952,7 +1952,7 @@ add_match_data(int alt, char *str, Cline line, for (p = lp = cp_cline(pline, 1); lp->next; lp = lp->next); if (lp->prefix && !(line->flags & (CLF_SUF | CLF_MID)) && - !p->llen && !p->wlen && !p->olen) { + !lp->llen && !lp->wlen && !lp->olen) { Cline lpp; for (lpp = lp->prefix; lpp->next; lpp = lpp->next); -- cgit 1.4.1