diff src/w16select.c @ 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 5d4cefa40da1
children 37913830a881
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);