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:
parent
9cbd5852b6
commit
1b65481e29
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user