Mercurial > emacs
changeset 23128:45de23c16505
(concat): Use macro CHAR_BYTES instead of Fchar_bytes.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 28 Aug 1998 12:22:39 +0000 |
parents | 22c7650e9057 |
children | 1d223a4bf4de |
files | src/fns.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Fri Aug 28 12:22:39 1998 +0000 +++ b/src/fns.c Fri Aug 28 12:22:39 1998 +0000 @@ -584,7 +584,7 @@ ch = XVECTOR (this)->contents[i]; if (! INTEGERP (ch)) wrong_type_argument (Qintegerp, ch); - this_len_byte = XFASTINT (Fchar_bytes (ch)); + this_len_byte = CHAR_BYTES (XINT (ch)); result_len_byte += this_len_byte; if (this_len_byte > 1) some_multibyte = 1; @@ -597,7 +597,7 @@ ch = XCONS (this)->car; if (! INTEGERP (ch)) wrong_type_argument (Qintegerp, ch); - this_len_byte = XFASTINT (Fchar_bytes (ch)); + this_len_byte = CHAR_BYTES (XINT (ch)); result_len_byte += this_len_byte; if (this_len_byte > 1) some_multibyte = 1;