summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/compmatch.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ec2f0daa..ed84451e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2001-01-25 Sven Wischnowsky <wischnow@zsh.org>
+ * 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;