diff options
| author | Eli Zaretskii | 2002-05-17 13:17:21 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-05-17 13:17:21 +0000 |
| commit | 8de1855e88fe0e6a3b8538b727c97f5713092a9f (patch) | |
| tree | 22b957337eeea1b8d817db8204ad15e58ffa838d /src | |
| parent | 56e19ec475f94f484f3b63e804f250b9a7e118c6 (diff) | |
| download | emacs-8de1855e88fe0e6a3b8538b727c97f5713092a9f.tar.gz emacs-8de1855e88fe0e6a3b8538b727c97f5713092a9f.zip | |
Fix whitespace.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w16select.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/w16select.c b/src/w16select.c index e1009fddfae..96d23087d12 100644 --- a/src/w16select.c +++ b/src/w16select.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* 16-bit Windows Selection processing for emacs on MS-Windows | 1 | /* 16-bit Windows Selection processing for emacs on MS-Windows |
| 2 | Copyright (C) 1996, 1997, 2001 Free Software Foundation. | 2 | Copyright (C) 1996, 1997, 2001 Free Software Foundation. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | 6 | GNU Emacs is free software; you can redistribute it and/or modify |
| @@ -168,7 +168,7 @@ unsigned | |||
| 168 | empty_clipboard () | 168 | empty_clipboard () |
| 169 | { | 169 | { |
| 170 | __dpmi_regs regs; | 170 | __dpmi_regs regs; |
| 171 | 171 | ||
| 172 | /* Calls Int 2Fh/AX=1702h | 172 | /* Calls Int 2Fh/AX=1702h |
| 173 | Return Values AX == 0: Error occurred | 173 | Return Values AX == 0: Error occurred |
| 174 | <> 0: OK, Clipboard emptied */ | 174 | <> 0: OK, Clipboard emptied */ |
| @@ -399,7 +399,7 @@ get_clipboard_data (Format, Data, Size, Raw) | |||
| 399 | the next loop by an additional test. */ | 399 | the next loop by an additional test. */ |
| 400 | register unsigned char *lcdp = | 400 | register unsigned char *lcdp = |
| 401 | last_clipboard_text == NULL ? &null_char : last_clipboard_text; | 401 | last_clipboard_text == NULL ? &null_char : last_clipboard_text; |
| 402 | 402 | ||
| 403 | /* Copy data from low memory, remove CR | 403 | /* Copy data from low memory, remove CR |
| 404 | characters before LF if needed. */ | 404 | characters before LF if needed. */ |
| 405 | _farsetsel (_dos_ds); | 405 | _farsetsel (_dos_ds); |
| @@ -486,10 +486,8 @@ DEFUN ("w16-set-clipboard-data", Fw16_set_clipboard_data, Sw16_set_clipboard_dat | |||
| 486 | Lisp_Object string, frame; | 486 | Lisp_Object string, frame; |
| 487 | { | 487 | { |
| 488 | unsigned ok = 1, put_status = 0; | 488 | unsigned ok = 1, put_status = 0; |
| 489 | int nbytes; | 489 | int nbytes, charset_info, no_crlf_conversion; |
| 490 | unsigned char *src, *dst = NULL; | 490 | unsigned char *src, *dst = NULL; |
| 491 | int charset_info; | ||
| 492 | int no_crlf_conversion; | ||
| 493 | 491 | ||
| 494 | CHECK_STRING (string); | 492 | CHECK_STRING (string); |
| 495 | 493 | ||
| @@ -606,8 +604,7 @@ DEFUN ("w16-get-clipboard-data", Fw16_get_clipboard_data, Sw16_get_clipboard_dat | |||
| 606 | unsigned data_size, truelen; | 604 | unsigned data_size, truelen; |
| 607 | unsigned char *htext; | 605 | unsigned char *htext; |
| 608 | Lisp_Object ret = Qnil; | 606 | Lisp_Object ret = Qnil; |
| 609 | int no_crlf_conversion; | 607 | int no_crlf_conversion, require_encoding = 0; |
| 610 | int require_encoding = 0; | ||
| 611 | 608 | ||
| 612 | if (NILP (frame)) | 609 | if (NILP (frame)) |
| 613 | frame = Fselected_frame (); | 610 | frame = Fselected_frame (); |
| @@ -685,9 +682,9 @@ DEFUN ("w16-get-clipboard-data", Fw16_get_clipboard_data, Sw16_get_clipboard_dat | |||
| 685 | 682 | ||
| 686 | unblock: | 683 | unblock: |
| 687 | UNBLOCK_INPUT; | 684 | UNBLOCK_INPUT; |
| 688 | 685 | ||
| 689 | done: | 686 | done: |
| 690 | 687 | ||
| 691 | return (ret); | 688 | return (ret); |
| 692 | } | 689 | } |
| 693 | 690 | ||
| @@ -736,7 +733,7 @@ and t is the same as `SECONDARY'. */) | |||
| 736 | return Qnil; | 733 | return Qnil; |
| 737 | } | 734 | } |
| 738 | 735 | ||
| 739 | void | 736 | void |
| 740 | syms_of_win16select () | 737 | syms_of_win16select () |
| 741 | { | 738 | { |
| 742 | defsubr (&Sw16_set_clipboard_data); | 739 | defsubr (&Sw16_set_clipboard_data); |