From: Richard M. Stallman Date: Sat, 21 Mar 1998 17:59:48 +0000 (+0000) Subject: (code_convert_string): Use make_string_from_bytes. X-Git-Tag: emacs-20.3~1821 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bbdf84bda7f2ec21a1236b477fe16373e6669ab4;p=emacs.git (code_convert_string): Use make_string_from_bytes. --- diff --git a/src/coding.c b/src/coding.c index 5e4c0b9afdd..1909ce4e124 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4388,8 +4388,8 @@ code_convert_string (str, coding, encodep, nocopy) if (encodep) str = make_unibyte_string (buf, len + coding->produced); else - str = make_multibyte_string (buf, len + coding->produced_char, - len + coding->produced); + str = make_string_from_bytes (buf, len + coding->produced_char, + len + coding->produced); return str; }