/[emacs]/emacs/src/w16select.c
ViewVC logotype

Diff of /emacs/src/w16select.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by eliz, Thu Aug 17 06:10:09 2000 UTC revision 1.21.16.1 by handa, Tue Jul 9 00:01:55 2002 UTC
# Line 40  Boston, MA 02111-1307, USA.  */ Line 40  Boston, MA 02111-1307, USA.  */
40  #include "buffer.h"  #include "buffer.h"
41  #include "charset.h"  #include "charset.h"
42  #include "coding.h"  #include "coding.h"
43    #include "composite.h"
44    
45  /* If ever some function outside this file will need to call any  /* If ever some function outside this file will need to call any
46     clipboard-related function, the following prototypes and constants     clipboard-related function, the following prototypes and constants
# Line 660  DEFUN ("w16-get-clipboard-data", Fw16_ge Line 661  DEFUN ("w16-get-clipboard-data", Fw16_ge
661        coding.dst_multibyte = 1;        coding.dst_multibyte = 1;
662        Vnext_selection_coding_system = Qnil;        Vnext_selection_coding_system = Qnil;
663        coding.mode |= CODING_MODE_LAST_BLOCK;        coding.mode |= CODING_MODE_LAST_BLOCK;
664          /* We explicitely disable composition handling because selection
665             data should not contain any composition sequence.  */
666          coding.composing = COMPOSITION_DISABLED;
667        truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1);        truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1);
668        bufsize = decoding_buffer_size (&coding, truelen);        bufsize = decoding_buffer_size (&coding, truelen);
669        buf = (unsigned char *) xmalloc (bufsize);        buf = (unsigned char *) xmalloc (bufsize);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.21.16.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26