diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w16select.c | 3 |
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); |