summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/compmatch.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 292eb0079..fe17300e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-03 Felix Rosencrantz <f_rosencrantz@yahoo.com>
+
+ * 20002: Src/Zle/compmatch.c: Fix a problem with an inconsistent
+ struct change in cmp_anchors().
+
2004-06-03 Peter Stephenson <pws@csr.com>
* 20017: Doc/.distfiles: add zsh.html to doc distribution.
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;
}