about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--NEWS2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8070213f1..eebd29b6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2008-04-26  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* unposted because everyone's seen enough of my mistakes:
+	Src/pattern.c, Src/Zle/zle_hist.c: with pattern matching the
+	end position of the match wasn't calculated; we used the
+	length of the uncompiled pattern which often had nothing
+	to do with it.  This made the position on forward pattern
+	searching wrong.
+
 	* 24881: Src/Zle/zle_hist.c: we kept feeping on an invalid
 	pattern; once is quite enough.
 
diff --git a/NEWS b/NEWS
index 98aa0b302..e118ec3af 100644
--- a/NEWS
+++ b/NEWS
@@ -18,7 +18,7 @@ may provide better reliability.
 
 Patterns can now be used in incremental searches with the new widgets
 history-incremental-pattern-search-backward and
-history-incremental-pattern-search-forkward.  These are not bound to
+history-incremental-pattern-search-forward.  These are not bound to
 keys by default.
 
 Highlighting of sections of the command line is now supported, controlled