changeset 5053:0e803dc6f096

fix to assert in extents.c, so `make check' works -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-21 Ben Wing <ben@xemacs.org> * extents.c (process_extents_for_insertion_mapper): Assertion wasn't quite set up correctly in previous patch.
author Ben Wing <ben@xemacs.org>
date Sun, 21 Feb 2010 03:06:43 -0600
parents 92dc90c0bb40
children 24372c7e0e8f 86041556214b
files src/ChangeLog src/extents.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Feb 20 23:56:01 2010 -0600
+++ b/src/ChangeLog	Sun Feb 21 03:06:43 2010 -0600
@@ -1,3 +1,8 @@
+2010-02-21  Ben Wing  <ben@xemacs.org>
+
+	* extents.c (process_extents_for_insertion_mapper):
+	Assertion wasn't quite set up correctly in previous patch.
+
 2010-02-20  Ben Wing  <ben@xemacs.org>
 
 	* EmacsFrame.c:
--- a/src/extents.c	Sat Feb 20 23:56:01 2010 -0600
+++ b/src/extents.c	Sun Feb 21 03:06:43 2010 -0600
@@ -4944,8 +4944,8 @@
      the insertion overlaps any existing extent, something is wrong.
    */
 #ifdef ERROR_CHECK_EXTENTS
-  assert (extent_start (extent) <= indice || extent_start (extent) > indice + closure->length);
-  assert (extent_end (extent) <= indice || extent_end (extent) > indice + closure->length);
+  assert (extent_start (extent) <= indice || extent_start (extent) >= indice + closure->length);
+  assert (extent_end (extent) <= indice || extent_end (extent) >= indice + closure->length);
 #endif
 
   /* The extent-adjustment code adjusted the extent's endpoints as if