Mercurial > emacs
changeset 21218:f99248b85ee8
(Fstring_as_multibyte): Call multibyte_chars_in_text
instead of chars_in_text because we must ignore
enable-multibyte-characters here.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 19 Mar 1998 07:34:29 +0000 |
parents | 18acb2723ec5 |
children | 29d2cf14040a |
files | src/fns.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Thu Mar 19 06:32:34 1998 +0000 +++ b/src/fns.c Thu Mar 19 07:34:29 1998 +0000 @@ -869,8 +869,8 @@ { if (! STRING_MULTIBYTE (string)) { - int newlen = chars_in_text (XSTRING (string)->data, - XSTRING (string)->size_byte); + int newlen = multibyte_chars_in_text (XSTRING (string)->data, + XSTRING (string)->size_byte); /* If all the chars are ASCII, STRING is already suitable. */ if (newlen != XSTRING (string)->size_byte) {