# HG changeset patch # User Kenichi Handa # Date 1024879023 0 # Node ID f95eb5f690c3829529d5053d6827e835bfc0f328 # Parent 1f9be7a1addc87fcc13e202008febe0c01f8240f (Fw32_get_clipboard_data): Disable composition handling. diff -r 1f9be7a1addc -r f95eb5f690c3 src/w32select.c --- 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);