From a11115ecee1b5fc02b4b714561ffdbc2d2a3e622 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 12 Jan 2001 13:50:13 +0000 Subject: fix for 13339 (report each position only once) and fixlet for matching: a case where missing characters weren't remembered (13343) --- Src/Zle/compmatch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/Zle/compmatch.c') diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 5a46a2616..4a4c1c90e 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1627,6 +1627,8 @@ join_psfx(Cline ot, Cline nt, Cline *orest, Cline *nrest, int sfx) *orest = NULL; if (nrest) *nrest = n; + if (n) + ot->flags |= CLF_MISS; return; } -- cgit 1.4.1