diff options
Diffstat (limited to 'src/xselect.c')
-rw-r--r-- | src/xselect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c index 3e1c9d0edf9..2b95b5692e5 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -1776,6 +1776,7 @@ lisp_data_to_selection_data (display, obj, unibyte_string = string_make_unibyte (obj); *data_ret = XSTRING (unibyte_string)->data; *nofree_ret = 1; + *size_ret = STRING_BYTES (*data_ret); } else { |