Mercurial > emacs
diff src/w32select.c @ 45984:f95eb5f690c3
(Fw32_get_clipboard_data): Disable composition handling.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Mon, 24 Jun 2002 00:37:03 +0000 |
| parents | dcb45a76827f |
| children | 37913830a881 |
line wrap: on
line diff
--- a/src/w32select.c Mon Jun 24 00:36:40 2002 +0000 +++ b/src/w32select.c Mon Jun 24 00:37:03 2002 +0000 @@ -330,6 +330,10 @@ 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; bufsize = decoding_buffer_size (&coding, nbytes); buf = (unsigned char *) xmalloc (bufsize); decode_coding (&coding, src, buf, nbytes, bufsize);
