]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_mode_element): One more case where a string's
authorGerd Moellmann <gerd@gnu.org>
Thu, 27 Sep 2001 08:35:44 +0000 (08:35 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 27 Sep 2001 08:35:44 +0000 (08:35 +0000)
multibyteness should be used for display.

src/xdisp.c

index 295bf1be5f64564eb39019fd1b174fbab423e009..00447cdb48dddfd40088d1abafcf2fd47bf8e3fa 100644 (file)
@@ -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 == '%' */