(code_convert_string): Use make_string_from_bytes.

This commit is contained in:
Richard M. Stallman 1998-03-21 17:59:48 +00:00
parent cc5bf9eb92
commit bbdf84bda7

View 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;
}