changeset 39472:c3d9922b855a

(display_mode_element): One more case where a string's multibyteness should be used for display.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 27 Sep 2001 08:35:44 +0000
parents 3ca0c12d72fe
children d625186dd9d1
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Sep 27 08:11:36 2001 +0000
+++ b/src/xdisp.c	Thu Sep 27 08:35:44 2001 +0000
@@ -13478,7 +13478,8 @@
 		    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 == '%' */