mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-18 01:46:44 +00:00
(code_convert_string): Use make_string_from_bytes.
This commit is contained in:
parent
cc5bf9eb92
commit
bbdf84bda7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue