From 799fdb040b4d006cfefd0a4d288f4dc89c436447 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 20 Jun 1998 21:49:01 +0000 Subject: (strout): Show multibyte message correctly. --- src/print.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/print.c b/src/print.c index 80959d0ad8..e60cdfb2ff 100644 --- a/src/print.c +++ b/src/print.c @@ -519,9 +519,11 @@ strout (ptr, size, size_byte, printcharfun, multibyte) } bcopy (tembuf, FRAME_MESSAGE_BUF (mini_frame), printbufidx); - message_enable_multibyte = 1; } + if (multibyte) + message_enable_multibyte = 1; + /* Compute how much of the new text will fit there. */ if (size_byte > FRAME_MESSAGE_BUF_SIZE (mini_frame) - printbufidx - 1) { -- cgit v1.2.3