From 9cbd5852b6e26f190b46a9998a4dca08384d7c05 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 7 Jun 2002 13:44:04 +0000 Subject: [PATCH] (lisp_data_to_selection_data): Fix last change: set size_ret. --- src/ChangeLog | 5 +++++ src/xselect.c | 1 + 2 files changed, 6 insertions(+) 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 { -- 2.39.5