summary refs log tree commit diff
path: root/Src
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 /Src
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)
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/compmatch.c2
1 files changed, 1 insertions, 1 deletions
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;