From: Kenichi Handa Date: Wed, 22 Dec 2004 06:32:30 +0000 (+0000) Subject: (Fx_get_cut_buffer_internal): Return a unibyte string. X-Git-Tag: ttn-vms-21-2-B4~3176 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f6b532c9061006263c12f1f57779b0864cf2b89;p=emacs.git (Fx_get_cut_buffer_internal): Return a unibyte string. --- 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);