aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1998-08-28 12:22:39 +0000
committerKenichi Handa1998-08-28 12:22:39 +0000
commitb778fdb3a53f6fb0979552fbec1c012366b2c415 (patch)
tree1bc03e7a6ce4b811099bfc06377de8b9883ea507 /src
parenta2236dc611360edfb8f5f891b4e63d586793f38f (diff)
downloademacs-b778fdb3a53f6fb0979552fbec1c012366b2c415.tar.gz
emacs-b778fdb3a53f6fb0979552fbec1c012366b2c415.zip
(message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes.
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. */