aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-06-24 00:36:20 +0000
committerKenichi Handa2002-06-24 00:36:20 +0000
commitee826e00e3f073d19da6932e35939dc070d0d127 (patch)
treec8617ea00a39f15fd593034c8058997bb48dd7a8 /src
parent1cd6b64ce8b6a1dc3b3d1f2362570db4b7ed9e9b (diff)
downloademacs-ee826e00e3f073d19da6932e35939dc070d0d127.tar.gz
emacs-ee826e00e3f073d19da6932e35939dc070d0d127.zip
(Fw16_get_clipboard_data): Disable composition handling.
Diffstat (limited to 'src')
-rw-r--r--src/w16select.c3
1 files changed, 3 insertions, 0 deletions
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
657 coding.dst_multibyte = 1; 657 coding.dst_multibyte = 1;
658 Vnext_selection_coding_system = Qnil; 658 Vnext_selection_coding_system = Qnil;
659 coding.mode |= CODING_MODE_LAST_BLOCK; 659 coding.mode |= CODING_MODE_LAST_BLOCK;
660 /* We explicitely disable composition handling because selection
661 data should not contain any composition sequence. */
662 coding.composing = COMPOSITION_DISABLED;
660 truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1); 663 truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1);
661 bufsize = decoding_buffer_size (&coding, truelen); 664 bufsize = decoding_buffer_size (&coding, truelen);
662 buf = (unsigned char *) xmalloc (bufsize); 665 buf = (unsigned char *) xmalloc (bufsize);