diff options
| author | Karl Heuer | 1998-06-20 21:49:01 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-06-20 21:49:01 +0000 |
| commit | 799fdb040b4d006cfefd0a4d288f4dc89c436447 (patch) | |
| tree | 52aa175d79b34ac95c61828b907d489a7ce418aa | |
| parent | 348e3a084155fe949559245be99df9fe6f8184a2 (diff) | |
| download | emacs-799fdb040b4d006cfefd0a4d288f4dc89c436447.tar.gz emacs-799fdb040b4d006cfefd0a4d288f4dc89c436447.zip | |
(strout): Show multibyte message correctly.
| -rw-r--r-- | src/print.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 80959d0ad86..e60cdfb2fff 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -519,9 +519,11 @@ strout (ptr, size, size_byte, printcharfun, multibyte) | |||
| 519 | } | 519 | } |
| 520 | 520 | ||
| 521 | bcopy (tembuf, FRAME_MESSAGE_BUF (mini_frame), printbufidx); | 521 | bcopy (tembuf, FRAME_MESSAGE_BUF (mini_frame), printbufidx); |
| 522 | message_enable_multibyte = 1; | ||
| 523 | } | 522 | } |
| 524 | 523 | ||
| 524 | if (multibyte) | ||
| 525 | message_enable_multibyte = 1; | ||
| 526 | |||
| 525 | /* Compute how much of the new text will fit there. */ | 527 | /* Compute how much of the new text will fit there. */ |
| 526 | if (size_byte > FRAME_MESSAGE_BUF_SIZE (mini_frame) - printbufidx - 1) | 528 | if (size_byte > FRAME_MESSAGE_BUF_SIZE (mini_frame) - printbufidx - 1) |
| 527 | { | 529 | { |