Mercurial > emacs
comparison src/print.c @ 22528:917ec8bf0d89
(strout): Show multibyte message correctly.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 20 Jun 1998 21:49:01 +0000 |
parents | ec7420aa37f3 |
children | f2d3eeec754e |
comparison
equal
deleted
inserted
replaced
22527:1b3491492aae | 22528:917ec8bf0d89 |
---|---|
517 while (printbufidx > 0 && tembuf[printbufidx] >= 0xA0) | 517 while (printbufidx > 0 && tembuf[printbufidx] >= 0xA0) |
518 printbufidx--; | 518 printbufidx--; |
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; | 522 } |
523 } | 523 |
524 if (multibyte) | |
525 message_enable_multibyte = 1; | |
524 | 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 { |
528 size_byte = FRAME_MESSAGE_BUF_SIZE (mini_frame) - printbufidx - 1; | 530 size_byte = FRAME_MESSAGE_BUF_SIZE (mini_frame) - printbufidx - 1; |