# HG changeset patch # User Kenichi Handa # Date 1103697150 0 # Node ID fdadde62c624b263eaae1e5b918017bffd3f38ae # Parent c979627ce50bc5b0dfb0a5e01280378df125f2c1 (Fx_get_cut_buffer_internal): Return a unibyte string. diff -r c979627ce50b -r fdadde62c624 src/xselect.c --- a/src/xselect.c Wed Dec 22 05:44:13 2004 +0000 +++ b/src/xselect.c Wed Dec 22 06:32:30 2004 +0000 @@ -2324,7 +2324,7 @@ 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);