diff options
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) |