Commit 3f49e599 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fmessage): Check byte size (instead of char size) of

parent 021452a7
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment