Commit b778fdb3 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes.

parent a2236dc6
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment