1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-09 15:50:21 +00:00

(lisp_data_to_selection_data): Fix last change:

*data_ret is not a Lisp string, while unibyte_string is.
This commit is contained in:
Sam Steingold 2002-06-07 22:05:07 +00:00
parent 9cbd5852b6
commit 1b65481e29
2 changed files with 44 additions and 39 deletions

View File

@ -1,3 +1,8 @@
2002-06-07 Sam Steingold <sds@gnu.org>
* xselect.c (lisp_data_to_selection_data): Fix last change:
*data_ret is not a Lisp string, while unibyte_string is.
2002-06-07 Eli Zaretskii <eliz@is.elta.co.il>
* xselect.c (lisp_data_to_selection_data): Fix last change: set

View File

@ -1776,7 +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);
*size_ret = SBYTES (unibyte_string);
}
else
{