]> git.eshelyaron.com Git - emacs.git/commitdiff
(load_overlay_strings): Fix copy&paste typo.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 10 Nov 2007 03:06:45 +0000 (03:06 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 10 Nov 2007 03:06:45 +0000 (03:06 +0000)
src/ChangeLog
src/xdisp.c

index 5849ac96f4eba7fd84872dd0aa82c7f8668b5d48..cf5247297490429e58b795767710e3c6382d5be2 100644 (file)
@@ -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
index 4c78f6ac8f8ce6320d070e71aa0942956e1e5a09..9a5131a047b9c1a585151820b23dafb1a228a707 100644 (file)
@@ -4918,7 +4918,7 @@ load_overlay_strings (it, charpos)
   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;
     }