summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-09-27 08:35:44 +0000
committerGerd Moellmann <gerd@gnu.org>2001-09-27 08:35:44 +0000
commitca77144dfa3a6ff7a5601fcce1c507f191f98282 (patch)
tree84c7230f7d94e92940e6f5d0efce5321a8ec4597 /src/xdisp.c
parente63f0ff0f6b4db0c5ac7ed09f06dba5e64258aa7 (diff)
downloademacs-ca77144dfa3a6ff7a5601fcce1c507f191f98282.tar.gz
(display_mode_element): One more case where a string's
multibyteness should be used for display.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
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 == '%' */