Mercurial > emacs
changeset 45982:864289635b41
(Fw16_get_clipboard_data): Disable composition handling.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 24 Jun 2002 00:36:20 +0000 |
parents | e513f55424f6 |
children | 1f9be7a1addc |
files | src/w16select.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w16select.c Mon Jun 24 00:35:59 2002 +0000 +++ b/src/w16select.c Mon Jun 24 00:36:20 2002 +0000 @@ -657,6 +657,9 @@ coding.dst_multibyte = 1; Vnext_selection_coding_system = Qnil; coding.mode |= CODING_MODE_LAST_BLOCK; + /* We explicitely disable composition handling because selection + data should not contain any composition sequence. */ + coding.composing = COMPOSITION_DISABLED; truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1); bufsize = decoding_buffer_size (&coding, truelen); buf = (unsigned char *) xmalloc (bufsize);