# HG changeset patch # User Kenichi Handa # Date 904306959 0 # Node ID 22c7650e9057e892309c323df41d26ac06d3e250 # Parent cac484ad071ca7705b6bdfb2d2b9b6e08d6aafc4 (message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes. diff -r cac484ad071c -r 22c7650e9057 src/xdisp.c --- a/src/xdisp.c Thu Aug 27 15:26:46 1998 +0000 +++ b/src/xdisp.c Fri Aug 28 12:22:39 1998 +0000 @@ -335,7 +335,7 @@ 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. */