changeset 21253:606fe1bb94e6

(code_convert_string): Use make_string_from_bytes.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Mar 1998 17:59:48 +0000
parents fce0c8c246d1
children d25a091700e5
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Sat Mar 21 17:59:22 1998 +0000
+++ b/src/coding.c	Sat Mar 21 17:59:48 1998 +0000
@@ -4388,8 +4388,8 @@
   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;
 }