]> git.eshelyaron.com Git - emacs.git/commitdiff
(code_convert_string): Use make_string_from_bytes.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Mar 1998 17:59:48 +0000 (17:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Mar 1998 17:59:48 +0000 (17:59 +0000)
src/coding.c

index 5e4c0b9afddb9fbf8d11d22b6ea39382b7c37ca1..1909ce4e1242c52cd8e1eaf4ea08a3ea052650f2 100644 (file)
@@ -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;
 }