# HG changeset patch # User Kenichi Handa # Date 1267147048 -32400 # Node ID ef024f9113f9f6a24a625938f20b9704d99c9c7e # Parent d8cd64428fb5ca86e8d7b19cdacfc6afa6398ba5 xdisp.c (reseat_to_string): Fix previous change. diff -r d8cd64428fb5 -r ef024f9113f9 src/ChangeLog --- a/src/ChangeLog Thu Feb 25 11:31:53 2010 +0900 +++ b/src/ChangeLog Fri Feb 26 10:17:28 2010 +0900 @@ -1,3 +1,7 @@ +2010-02-26 Kenichi Handa + + * xdisp.c (reseat_to_string): Fix previous change. + 2010-02-25 Kenichi Handa * xdisp.c (reseat_to_string): Fix previous change (bug#5609). diff -r d8cd64428fb5 -r ef024f9113f9 src/xdisp.c --- a/src/xdisp.c Thu Feb 25 11:31:53 2010 +0900 +++ b/src/xdisp.c Fri Feb 26 10:17:28 2010 +0900 @@ -5611,7 +5611,7 @@ it->stop_charpos = charpos; if (s == NULL && it->multibyte_p) { - EMACS_INT endpos = charpos + SCHARS (it->string); + EMACS_INT endpos = SCHARS (it->string); if (endpos > it->end_charpos) endpos = it->end_charpos; composition_compute_stop_pos (&it->cmp_it, charpos, -1, endpos,