about summary refs log tree commit diff
path: root/Src/Zle/compmatch.c
diff options
context:
space:
mode:
authorFelix Rosencrantz <f_rosencrantz@users.sourceforge.net>2004-06-04 06:00:32 +0000
committerFelix Rosencrantz <f_rosencrantz@users.sourceforge.net>2004-06-04 06:00:32 +0000
commitba2415ce67d39424de6200425cdf7804c0199509 (patch)
tree964b00431a80c7aad833a37294c3564013c2dc0f /Src/Zle/compmatch.c
parent4070b8ba9eaf31d38908cdcde8114d1cbf4e35b9 (diff)
downloadzsh-ba2415ce67d39424de6200425cdf7804c0199509.tar.gz
zsh-ba2415ce67d39424de6200425cdf7804c0199509.tar.xz
zsh-ba2415ce67d39424de6200425cdf7804c0199509.zip
20002 -- fix for matching spec core dump
Diffstat (limited to 'Src/Zle/compmatch.c')
-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 750b4cb58..90823c9f7 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1398,7 +1398,7 @@ cmp_anchors(Cline o, Cline n, int join)
 	if (line) {
 	    o->flags |= CLF_LINE;
 	    o->word = NULL;
-	    n->wlen = 0;
+	    o->wlen = 0;
 	}
 	return 1;
     }