From 88ab3cc13356c05b284e54bff8d197b9528f8b65 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 19 Mar 1998 07:34:29 +0000 Subject: [PATCH] (Fstring_as_multibyte): Call multibyte_chars_in_text instead of chars_in_text because we must ignore enable-multibyte-characters here. --- src/fns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fns.c b/src/fns.c index 1299f3d2a8e..34015c555c8 100644 --- a/src/fns.c +++ b/src/fns.c @@ -869,8 +869,8 @@ If STRING is multibyte, the result is STRING itself.") { 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) { -- 2.39.5