aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/charset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charset.c b/src/charset.c
index af8a2490daf..acc24a29e25 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1149,7 +1149,7 @@ DEFUN ("string", Fstring, Sstring, 1, MANY, 0,
1149 p += len; 1149 p += len;
1150 } 1150 }
1151 1151
1152 val = make_multibyte_string (buf, n, p - buf); 1152 val = make_string_from_bytes (buf, n, p - buf);
1153 return val; 1153 return val;
1154} 1154}
1155 1155
@@ -1565,7 +1565,7 @@ DEFUN ("compose-string", Fcompose_string, Scompose_string,
1565 /* STR contains only one character, which can't be composed. */ 1565 /* STR contains only one character, which can't be composed. */
1566 error ("Too short string to be composed: %s", XSTRING (str)->data); 1566 error ("Too short string to be composed: %s", XSTRING (str)->data);
1567 1567
1568 return make_multibyte_string (buf, 1, i); 1568 return make_string_from_bytes (buf, 1, i);
1569} 1569}
1570 1570
1571 1571