changeset 45670:07c921daa0f8

(lisp_data_to_selection_data): Fix last change: set size_ret.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 07 Jun 2002 13:43:29 +0000
parents c8a6b0050bb0
children a2a919ea2b23
files src/xselect.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xselect.c	Fri Jun 07 12:58:40 2002 +0000
+++ b/src/xselect.c	Fri Jun 07 13:43:29 2002 +0000
@@ -1776,6 +1776,7 @@
 	  unibyte_string = string_make_unibyte (obj);
 	  *data_ret = XSTRING (unibyte_string)->data;
 	  *nofree_ret = 1;
+	  *size_ret = STRING_BYTES (*data_ret);
 	}
       else
 	{