From b778fdb3a53f6fb0979552fbec1c012366b2c415 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 28 Aug 1998 12:22:39 +0000 Subject: [PATCH] (message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) while (i < len) { c = STRING_CHAR (m + i, len - i); - i += XFASTINT (Fchar_bytes (make_number (c))); + i += CHAR_BYTES (c); /* Truncate the character to its last byte--we can only hope the user is happy with the character he gets, since if it isn't right, there is no way to do it right. */ -- 2.39.2