]> code.delx.au - gnu-emacs/commitdiff
(Fx_get_cut_buffer_internal): Return a unibyte string.
authorKenichi Handa <handa@m17n.org>
Wed, 22 Dec 2004 06:32:30 +0000 (06:32 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 22 Dec 2004 06:32:30 +0000 (06:32 +0000)
src/xselect.c

index c89347be2cd87a57b0276c32727303a497fe563e..38547ea6bbf0585a871ead429a06e5d0f85d35cf 100644 (file)
@@ -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);