changeset 107227:ef024f9113f9

xdisp.c (reseat_to_string): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Fri, 26 Feb 2010 10:17:28 +0900
parents d8cd64428fb5
children 8e842bd86ccf
files src/ChangeLog src/xdisp.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <handa@m17n.org>
+
+	* xdisp.c (reseat_to_string): Fix previous change.
+
 2010-02-25  Kenichi Handa  <handa@m17n.org>
 
 	* xdisp.c (reseat_to_string): Fix previous change (bug#5609).
--- 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,