on multibyteness of elt, not the text in field.
+2002-01-15 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * xdisp.c (display_mode_element): When computing charpos, depend
+ on multibytenes of elt, not the text in field.
+
2002-01-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
* buffer.c (Fkill_all_local_variables): Increment
nglyphs_before = it->glyph_row->used[TEXT_AREA];
bytepos = percent_position - XSTRING (elt)->data;
- charpos = (multibyte
+ charpos = (STRING_MULTIBYTE (elt)
? string_byte_to_char (elt, bytepos)
: bytepos);
nwritten = display_string (spec, Qnil, elt,