X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fselect-msw.c;h=7d11bd9b2f7faf1117f08af7d35900aff6d9e90d;hb=975655e6b5b1526ee82b159b3eadf69888c42090;hp=a760eb0681a53b18ab69d47404f8f86121908b1a;hpb=376658ea71d16dced8acff36c3e385ac3738d868;p=chise%2Fxemacs-chise.git- diff --git a/src/select-msw.c b/src/select-msw.c index a760eb0..7d11bd9 100644 --- a/src/select-msw.c +++ b/src/select-msw.c @@ -34,175 +34,178 @@ Boston, MA 02111-1307, USA. */ #include "console-msw.h" -DEFUN ("mswindows-set-clipboard", Fmswindows_set_clipboard, 1, 1, 0, /* -Copy STRING to the mswindows clipboard. -*/ - (string)) -{ - int rawsize, size, i; - unsigned char *src, *dst, *next; - HGLOBAL h = NULL; - struct frame *f = NULL; - - CHECK_STRING (string); - - /* Calculate size with LFs converted to CRLFs because - * CF_TEXT format uses CRLF delimited ASCIIZ */ - src = XSTRING_DATA (string); - size = rawsize = XSTRING_LENGTH (string) + 1; - for (i=0; i