diff options
| author | Kenichi Handa | 1997-05-19 03:33:50 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-05-19 03:33:50 +0000 |
| commit | fb5e77f716b235979709d7babccb94f458b04a84 (patch) | |
| tree | 65ec9c02a80149c528ab9c314dd2325ced024be1 /src | |
| parent | ce667c3efe4e58d42004c7a42e0b342732d31d11 (diff) | |
| download | emacs-fb5e77f716b235979709d7babccb94f458b04a84.tar.gz emacs-fb5e77f716b235979709d7babccb94f458b04a84.zip | |
(lisp_data_to_selection_data): charsets from `char' to `int.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c index cf2fe19a4ae..20a977b8fa5 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -1596,13 +1596,13 @@ lisp_data_to_selection_data (display, obj, | |||
| 1596 | { | 1596 | { |
| 1597 | /* Since we are now handling multilingual text, we must consider | 1597 | /* Since we are now handling multilingual text, we must consider |
| 1598 | sending back compound text. */ | 1598 | sending back compound text. */ |
| 1599 | char charsets[MAX_CHARSET + 1]; | 1599 | int charsets[MAX_CHARSET + 1]; |
| 1600 | int num; | 1600 | int num; |
| 1601 | 1601 | ||
| 1602 | *format_ret = 8; | 1602 | *format_ret = 8; |
| 1603 | *size_ret = XSTRING (obj)->size; | 1603 | *size_ret = XSTRING (obj)->size; |
| 1604 | *data_ret = XSTRING (obj)->data; | 1604 | *data_ret = XSTRING (obj)->data; |
| 1605 | bzero (charsets, MAX_CHARSET + 1); | 1605 | bzero (charsets, (MAX_CHARSET + 1) * sizeof (int)); |
| 1606 | num = ((*size_ret <= 1) /* Check the possibility of short cut. */ | 1606 | num = ((*size_ret <= 1) /* Check the possibility of short cut. */ |
| 1607 | ? 0 | 1607 | ? 0 |
| 1608 | : find_charset_in_str (*data_ret, *size_ret, charsets, Qnil)); | 1608 | : find_charset_in_str (*data_ret, *size_ret, charsets, Qnil)); |