about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-25 15:16:27 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-25 15:16:27 +0000
commit193846af847cb469d69611e84955486808c4ec6f (patch)
tree9a038083ad0e918f7f40e184172f7018ac94302c
parentb6fb83e4ffec7207eb448bef8997f93bae4d1b31 (diff)
downloadzsh-193846af847cb469d69611e84955486808c4ec6f.tar.gz
zsh-193846af847cb469d69611e84955486808c4ec6f.tar.xz
zsh-193846af847cb469d69611e84955486808c4ec6f.zip
fix for mergin two CLF_MID entries in cline lists (with two equal prefixes it thought there were characters missing) (13388)
-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;