diff options
| author | Richard M. Stallman | 1998-03-21 18:00:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-03-21 18:00:38 +0000 |
| commit | 2780260006e3da3d0fcc8412aa7771f43bb112bc (patch) | |
| tree | ea8d234f1692cf5e907bc8987cca08bbcf3aae1e /src | |
| parent | f34206b459fdc890b7ec997ae9ec931203567f82 (diff) | |
| download | emacs-2780260006e3da3d0fcc8412aa7771f43bb112bc.tar.gz emacs-2780260006e3da3d0fcc8412aa7771f43bb112bc.zip | |
(Fstring): Use make_string_from_bytes.
(Fcompose_string): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.c | 4 |
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 | ||