changeset 21255:3d75330ce275

(Fstring): Use make_string_from_bytes. (Fcompose_string): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Mar 1998 18:00:38 +0000
parents d25a091700e5
children 0fda3f197f9c
files src/charset.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Sat Mar 21 18:00:19 1998 +0000
+++ b/src/charset.c	Sat Mar 21 18:00:38 1998 +0000
@@ -1149,7 +1149,7 @@
       p += len;
     }
 
-  val = make_multibyte_string (buf, n, p - buf);
+  val = make_string_from_bytes (buf, n, p - buf);
   return val;
 }
 
@@ -1565,7 +1565,7 @@
     /* STR contains only one character, which can't be composed.  */
     error ("Too short string to be composed: %s", XSTRING (str)->data);
 
-  return make_multibyte_string (buf, 1, i);
+  return make_string_from_bytes (buf, 1, i);
 }