From: Kenichi Handa Date: Mon, 24 Jun 2002 00:36:20 +0000 (+0000) Subject: (Fw16_get_clipboard_data): Disable composition handling. X-Git-Tag: ttn-vms-21-2-B4~14475 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee826e00e3f073d19da6932e35939dc070d0d127;p=emacs.git (Fw16_get_clipboard_data): Disable composition handling. --- diff --git a/src/w16select.c b/src/w16select.c index 96d23087d12..6c6038994b9 100644 --- a/src/w16select.c +++ b/src/w16select.c @@ -657,6 +657,9 @@ DEFUN ("w16-get-clipboard-data", Fw16_get_clipboard_data, Sw16_get_clipboard_dat 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);