aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-03-21 17:59:48 +0000
committerRichard M. Stallman1998-03-21 17:59:48 +0000
commitbbdf84bda7f2ec21a1236b477fe16373e6669ab4 (patch)
tree9b55407e08819ddf4486beecf4177abc3e03db2b
parentcc5bf9eb92b27801c213bebdee2515713799b132 (diff)
downloademacs-bbdf84bda7f2ec21a1236b477fe16373e6669ab4.tar.gz
emacs-bbdf84bda7f2ec21a1236b477fe16373e6669ab4.zip
(code_convert_string): Use make_string_from_bytes.
-rw-r--r--src/coding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index 5e4c0b9afdd..1909ce4e124 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4388,8 +4388,8 @@ code_convert_string (str, coding, encodep, nocopy)
4388 if (encodep) 4388 if (encodep)
4389 str = make_unibyte_string (buf, len + coding->produced); 4389 str = make_unibyte_string (buf, len + coding->produced);
4390 else 4390 else
4391 str = make_multibyte_string (buf, len + coding->produced_char, 4391 str = make_string_from_bytes (buf, len + coding->produced_char,
4392 len + coding->produced); 4392 len + coding->produced);
4393 return str; 4393 return str;
4394} 4394}
4395 4395