summaryrefslogtreecommitdiff
path: root/src/xselect.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-03-21 17:49:39 +0000
committerRichard M. Stallman <rms@gnu.org>1998-03-21 17:49:39 +0000
commitc98265b836275014bb14d2705f2baa340dfbef0d (patch)
tree86e1447a4746da843380735c7676d9da50dfa6c6 /src/xselect.c
parent2a1d8be0dc8ff03732c66150b2732cf6db72b3bc (diff)
downloademacs-c98265b836275014bb14d2705f2baa340dfbef0d.tar.gz
(selection_data_to_lisp_data): Use make_string_from_bytes.
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 475a2fdd1d7..5eb7d432158 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -1506,8 +1506,8 @@ selection_data_to_lisp_data (display, data, size, type, format)
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;