Commit bbdf84bd authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(code_convert_string): Use make_string_from_bytes.

parent cc5bf9eb
......@@ -4388,7 +4388,7 @@ code_convert_string (str, coding, encodep, nocopy)
if (encodep)
str = make_unibyte_string (buf, len + coding->produced);
str = make_multibyte_string (buf, len + coding->produced_char,
str = make_string_from_bytes (buf, len + coding->produced_char,
len + coding->produced);
return str;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment