changeset 79365:329636cf01af

(load_overlay_strings): Fix copy&paste typo.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 10 Nov 2007 03:06:45 +0000
parents 4233408e72b4
children 9c6165181df8
files src/ChangeLog src/xdisp.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Nov 10 01:47:45 2007 +0000
+++ b/src/ChangeLog	Sat Nov 10 03:06:45 2007 +0000
@@ -1,3 +1,7 @@
+2007-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* xdisp.c (load_overlay_strings): Fix copy&paste typo.
+
 2007-11-07  Chong Yidong  <cyd@stupidchicken.com>
 
 	* dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE
@@ -29,7 +33,7 @@
 	Rearrange a few elements.
 	(face_for_overlay_string): Decl renamed from
 	face_at_buffer_position_no_overlays, and add argument.
-	
+
 2007-11-03  Richard Stallman  <rms@gnu.org>
 
 	* xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays
--- a/src/xdisp.c	Sat Nov 10 01:47:45 2007 +0000
+++ b/src/xdisp.c	Sat Nov 10 03:06:45 2007 +0000
@@ -4918,7 +4918,7 @@
   j = it->current.overlay_string_index;
   while (i < OVERLAY_STRING_CHUNK_SIZE && j < n)
     {
-      it->overlay_strings[i++] = entries[j++].string;
+      it->overlay_strings[i] = entries[j].string;
       it->string_overlays[i++] = entries[j++].overlay;
     }