Mercurial > emacs
changeset 21247:d9bd70c35dba
(selection_data_to_lisp_data): Use make_string_from_bytes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 21 Mar 1998 17:49:39 +0000 |
parents | 6c16216d0e69 |
children | aba5e1c3328b |
files | src/xselect.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xselect.c Sat Mar 21 17:48:54 1998 +0000 +++ b/src/xselect.c Sat Mar 21 17:49:39 1998 +0000 @@ -1506,8 +1506,8 @@ bufsize = decoding_buffer_size (&coding, size); buf = (unsigned char *) xmalloc (bufsize); decode_coding (&coding, data, buf, size, bufsize); - str = make_multibyte_string ((char *) buf, - coding.produced_char, coding.produced); + str = make_string_from_bytes ((char *) buf, + coding.produced_char, coding.produced); xfree (buf); } return str;