# HG changeset patch # User Kenichi Handa # Date 890292869 0 # Node ID f99248b85ee884e767e47d26922f0586b39d265d # Parent 18acb2723ec5e53943d917f0a4decbf8bc9673df (Fstring_as_multibyte): Call multibyte_chars_in_text instead of chars_in_text because we must ignore enable-multibyte-characters here. diff -r 18acb2723ec5 -r f99248b85ee8 src/fns.c --- 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) {