]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmessage): Check byte size (instead of char size) of
authorKenichi Handa <handa@m17n.org>
Fri, 20 Feb 1998 11:14:32 +0000 (11:14 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 20 Feb 1998 11:14:32 +0000 (11:14 +0000)
VAL against MESSAGE_LENGTH.

src/editfns.c

index 3ad14164a8f1cdda706c3f465108e06abc801e87..9fc69b74de9cd8b5bacefa14cc546a4740e85f88 100644 (file)
@@ -2072,7 +2072,7 @@ minibuffer contents show.")
          message_text = (char *)xmalloc (80);
          message_length = 80;
        }
-      if (XSTRING (val)->size > message_length)
+      if (XSTRING (val)->size_byte > message_length)
        {
          message_length = XSTRING (val)->size_byte;
          message_text = (char *)xrealloc (message_text, message_length);