summaryrefslogtreecommitdiff
path: root/src/w16select.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-05-17 13:17:21 +0000
committerEli Zaretskii <eliz@gnu.org>2002-05-17 13:17:21 +0000
commit8de1855e88fe0e6a3b8538b727c97f5713092a9f (patch)
tree22b957337eeea1b8d817db8204ad15e58ffa838d /src/w16select.c
parent56e19ec475f94f484f3b63e804f250b9a7e118c6 (diff)
downloademacs-8de1855e88fe0e6a3b8538b727c97f5713092a9f.tar.gz
Fix whitespace.
Diffstat (limited to 'src/w16select.c')
-rw-r--r--src/w16select.c19
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 @@
/* 16-bit Windows Selection processing for emacs on MS-Windows
Copyright (C) 1996, 1997, 2001 Free Software Foundation.
-
+
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
@@ -168,7 +168,7 @@ unsigned
empty_clipboard ()
{
__dpmi_regs regs;
-
+
/* Calls Int 2Fh/AX=1702h
Return Values AX == 0: Error occurred
<> 0: OK, Clipboard emptied */
@@ -399,7 +399,7 @@ get_clipboard_data (Format, Data, Size, Raw)
the next loop by an additional test. */
register unsigned char *lcdp =
last_clipboard_text == NULL ? &null_char : last_clipboard_text;
-
+
/* Copy data from low memory, remove CR
characters before LF if needed. */
_farsetsel (_dos_ds);
@@ -486,10 +486,8 @@ DEFUN ("w16-set-clipboard-data", Fw16_set_clipboard_data, Sw16_set_clipboard_dat
Lisp_Object string, frame;
{
unsigned ok = 1, put_status = 0;
- int nbytes;
+ int nbytes, charset_info, no_crlf_conversion;
unsigned char *src, *dst = NULL;
- int charset_info;
- int no_crlf_conversion;
CHECK_STRING (string);
@@ -606,8 +604,7 @@ DEFUN ("w16-get-clipboard-data", Fw16_get_clipboard_data, Sw16_get_clipboard_dat
unsigned data_size, truelen;
unsigned char *htext;
Lisp_Object ret = Qnil;
- int no_crlf_conversion;
- int require_encoding = 0;
+ int no_crlf_conversion, require_encoding = 0;
if (NILP (frame))
frame = Fselected_frame ();
@@ -685,9 +682,9 @@ DEFUN ("w16-get-clipboard-data", Fw16_get_clipboard_data, Sw16_get_clipboard_dat
unblock:
UNBLOCK_INPUT;
-
+
done:
-
+
return (ret);
}
@@ -736,7 +733,7 @@ and t is the same as `SECONDARY'. */)
return Qnil;
}
-void
+void
syms_of_win16select ()
{
defsubr (&Sw16_set_clipboard_data);