summaryrefslogtreecommitdiff
path: root/src/xselect.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-12-22 06:32:30 +0000
committerKenichi Handa <handa@m17n.org>2004-12-22 06:32:30 +0000
commit3f6b532c9061006263c12f1f57779b0864cf2b89 (patch)
tree9be27b7a024ba64fc5fc923c99358d1b487ae18d /src/xselect.c
parentbc3f38d9656ba23a6f1192f0ddcd9763786dd91e (diff)
downloademacs-3f6b532c9061006263c12f1f57779b0864cf2b89.tar.gz
(Fx_get_cut_buffer_internal): Return a unibyte string.
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c
index c89347be2cd..38547ea6bbf 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2324,7 +2324,7 @@ DEFUN ("x-get-cut-buffer-internal", Fx_get_cut_buffer_internal,
Fcons (x_atom_to_symbol (display, type),
Fcons (make_number (format), Qnil))));
- ret = (bytes ? make_string ((char *) data, bytes) : Qnil);
+ ret = (bytes ? make_unibyte_string ((char *) data, bytes) : Qnil);
/* Use xfree, not XFree, because x_get_window_property
calls xmalloc itself. */
xfree (data);