diff options
| author | Kenichi Handa | 2003-01-15 06:38:54 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-01-15 06:38:54 +0000 |
| commit | 6e57ec5e65736760d62ce02adbdc72b69d30587a (patch) | |
| tree | b1035d8174f57be6846a11f2c3eed0f92081235e /src | |
| parent | 6df8b9feeae44dd196dceae139332599c0c1e720 (diff) | |
| download | emacs-6e57ec5e65736760d62ce02adbdc72b69d30587a.tar.gz emacs-6e57ec5e65736760d62ce02adbdc72b69d30587a.zip | |
(message_dolog): Fix bug of the case that *Message*
buffer is unibyte.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index cdf9d38df5a..769d861e36c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -5759,7 +5759,7 @@ message_dolog (m, nbytes, nlflag, multibyte) | |||
| 5759 | 5759 | ||
| 5760 | /* Convert a multibyte string to single-byte | 5760 | /* Convert a multibyte string to single-byte |
| 5761 | for the *Message* buffer. */ | 5761 | for the *Message* buffer. */ |
| 5762 | for (i = 0; i < nbytes; i += nbytes) | 5762 | for (i = 0; i < nbytes; i += char_bytes) |
| 5763 | { | 5763 | { |
| 5764 | c = string_char_and_length (m + i, nbytes - i, &char_bytes); | 5764 | c = string_char_and_length (m + i, nbytes - i, &char_bytes); |
| 5765 | work[0] = (SINGLE_BYTE_CHAR_P (c) | 5765 | work[0] = (SINGLE_BYTE_CHAR_P (c) |