mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
(message_dolog): Fix bug of the case that *Message*
buffer is unibyte.
This commit is contained in:
parent
6df8b9feea
commit
6e57ec5e65
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user