From 8383dac7992befba8da714a3f9519a34472291c8 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 10 Nov 2007 03:06:45 +0000 Subject: [PATCH] (load_overlay_strings): Fix copy&paste typo. --- src/ChangeLog | 6 +++++- src/xdisp.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5849ac96f4e..cf524729749 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-11-10 Stefan Monnier + + * xdisp.c (load_overlay_strings): Fix copy&paste typo. + 2007-11-07 Chong Yidong * 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 * xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays diff --git a/src/xdisp.c b/src/xdisp.c index 4c78f6ac8f8..9a5131a047b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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; } -- 2.39.2