Commit 7379cfce authored by Kenichi Handa's avatar Kenichi Handa

xdisp.c (reseat_to_string): Fix previous change.

parent ed20a012
2010-02-26 Kenichi Handa <handa@m17n.org>
* xdisp.c (reseat_to_string): Fix previous change.
2010-02-25 Kenichi Handa <handa@m17n.org> 2010-02-25 Kenichi Handa <handa@m17n.org>
* xdisp.c (reseat_to_string): Fix previous change (bug#5609). * xdisp.c (reseat_to_string): Fix previous change (bug#5609).
......
...@@ -5611,7 +5611,7 @@ reseat_to_string (it, s, string, charpos, precision, field_width, multibyte) ...@@ -5611,7 +5611,7 @@ reseat_to_string (it, s, string, charpos, precision, field_width, multibyte)
it->stop_charpos = charpos; it->stop_charpos = charpos;
if (s == NULL && it->multibyte_p) if (s == NULL && it->multibyte_p)
{ {
EMACS_INT endpos = charpos + SCHARS (it->string); EMACS_INT endpos = SCHARS (it->string);
if (endpos > it->end_charpos) if (endpos > it->end_charpos)
endpos = it->end_charpos; endpos = it->end_charpos;
composition_compute_stop_pos (&it->cmp_it, charpos, -1, endpos, composition_compute_stop_pos (&it->cmp_it, charpos, -1, endpos,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment