diff options
author | Kenichi Handa <[email protected]> | 2003-01-15 06:38:54 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2003-01-15 06:38:54 +0000 |
commit | 6e57ec5e65736760d62ce02adbdc72b69d30587a (patch) | |
tree | b1035d8174f57be6846a11f2c3eed0f92081235e /src | |
parent | 6df8b9feeae44dd196dceae139332599c0c1e720 (diff) |
(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 cdf9d38df5..769d861e36 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5759,7 +5759,7 @@ message_dolog (m, nbytes, nlflag, multibyte) /* Convert a multibyte string to single-byte for the *Message* buffer. */ - for (i = 0; i < nbytes; i += nbytes) + for (i = 0; i < nbytes; i += char_bytes) { c = string_char_and_length (m + i, nbytes - i, &char_bytes); work[0] = (SINGLE_BYTE_CHAR_P (c) |