From ca77144dfa3a6ff7a5601fcce1c507f191f98282 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 27 Sep 2001 08:35:44 +0000 Subject: [PATCH] (display_mode_element): One more case where a string's multibyteness should be used for display. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 295bf1be5f6..00447cdb48d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13478,7 +13478,8 @@ display_mode_element (it, depth, field_width, precision, elt) int bytepos = last - lisp_string; int charpos = string_byte_to_char (elt, bytepos); n += display_string (NULL, elt, Qnil, 0, charpos, - it, 0, prec, 0, -1); + it, 0, prec, 0, + STRING_MULTIBYTE (elt)); } } else /* c == '%' */ -- 2.39.5