From: Eli Zaretskii Date: Fri, 7 Jun 2002 13:44:04 +0000 (+0000) Subject: (lisp_data_to_selection_data): Fix last change: set size_ret. X-Git-Tag: ttn-vms-21-2-B4~14743 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9cbd5852b6e26f190b46a9998a4dca08384d7c05;p=emacs.git (lisp_data_to_selection_data): Fix last change: set size_ret. --- diff --git a/src/ChangeLog b/src/ChangeLog index 48533289d2a..d6520cc0aed 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-06-07 Eli Zaretskii + + * xselect.c (lisp_data_to_selection_data): Fix last change: set + size_ret. + 2002-06-07 Andreas Schwab * m/amdx86-64.h: New file. 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 {