aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a443021470a..fe3d112adda 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -335,7 +335,7 @@ message_dolog (m, len, nlflag, multibyte)
335 while (i < len) 335 while (i < len)
336 { 336 {
337 c = STRING_CHAR (m + i, len - i); 337 c = STRING_CHAR (m + i, len - i);
338 i += XFASTINT (Fchar_bytes (make_number (c))); 338 i += CHAR_BYTES (c);
339 /* Truncate the character to its last byte--we can only hope 339 /* Truncate the character to its last byte--we can only hope
340 the user is happy with the character he gets, 340 the user is happy with the character he gets,
341 since if it isn't right, there is no way to do it right. */ 341 since if it isn't right, there is no way to do it right. */