]> git.eshelyaron.com Git - emacs.git/commitdiff
(message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes.
authorKenichi Handa <handa@m17n.org>
Fri, 28 Aug 1998 12:22:39 +0000 (12:22 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 28 Aug 1998 12:22:39 +0000 (12:22 +0000)
src/xdisp.c

index a443021470a7c35f329a9b9d364e6f0003f6179f..fe3d112adda5594f2d6a50a72cafb0a7030a45d2 100644 (file)
@@ -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.  */