From 193846af847cb469d69611e84955486808c4ec6f Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 25 Jan 2001 15:16:27 +0000 Subject: fix for mergin two CLF_MID entries in cline lists (with two equal prefixes it thought there were characters missing) (13388) --- ChangeLog | 4 ++++ Src/Zle/compmatch.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ec2f0daa..ed84451e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2001-01-25 Sven Wischnowsky + * 13388: Src/Zle/compmatch.c: fix for mergin two CLF_MID entries + in cline lists (with two equal prefixes it thought there were + characters missing) + * 13384: Src/signals.c: make signal queueing variables be exported to modules diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index e5aafdfcc..0bd8e82f3 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1627,7 +1627,7 @@ join_psfx(Cline ot, Cline nt, Cline *orest, Cline *nrest, int sfx) *orest = NULL; if (nrest) *nrest = n; - if (n) + if (n && n->wlen) ot->flags |= CLF_MISS; return; -- cgit 1.4.1