From ee826e00e3f073d19da6932e35939dc070d0d127 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 24 Jun 2002 00:36:20 +0000 Subject: [PATCH] (Fw16_get_clipboard_data): Disable composition handling. --- src/w16select.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2