From 684ef72bbf5b2c4723ff5a5ee954a21041c360b2 Mon Sep 17 00:00:00 2001 From: Steve Youngs Date: Sat, 28 Jan 2012 16:39:24 +1000 Subject: [PATCH] Whitespace cleanup in src/mule Signed-off-by: Steve Youngs --- src/mule/Makefile.am | 2 +- src/mule/file-coding.c | 4 ++-- src/mule/input-method-xlib.c | 14 +++++++------- src/mule/mule-canna.c | 10 +++++----- src/mule/mule-ccl.c | 10 +++++----- src/mule/mule-ccl.h | 2 +- src/mule/mule-wnnfns.c | 4 ++-- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/mule/Makefile.am b/src/mule/Makefile.am index f5292e8..2fc9232 100644 --- a/src/mule/Makefile.am +++ b/src/mule/Makefile.am @@ -64,7 +64,7 @@ header_HEADERS= $(acgen_headers) $(libmule_a_headers) noinst_LIBRARIES=libmule.a -# +# # Help the SXEmacs developers get nice post-processed source files ## Create preprocessor output (debugging purposes only) diff --git a/src/mule/file-coding.c b/src/mule/file-coding.c index b6241eb..094da82 100644 --- a/src/mule/file-coding.c +++ b/src/mule/file-coding.c @@ -1735,7 +1735,7 @@ detect_eol_type(struct detection_state *st, const Extbyte * src, Returns: 0 == st->eol_type is EOL_AUTODETECT and/or more than coding category - is present in st->mask + is present in st->mask 1 == definitive answers are here for both st->eol_type and st->mask */ @@ -3576,7 +3576,7 @@ Return the UCS code (a positive integer) corresponding to CHARACTER. (U+3013) of JIS X 0208, which means correct character is not found, instead. #### do something more appropriate (use blob?) - Danger, Will Robinson! Data loss. Should we signal user? */ + Danger, Will Robinson! Data loss. Should we signal user? */ static void decode_ucs4(unsigned long ch, unsigned_char_dynarr * dst) { Lisp_Object chr = ucs_to_char(ch); diff --git a/src/mule/input-method-xlib.c b/src/mule/input-method-xlib.c index ef5c0bd..0f7bd38 100644 --- a/src/mule/input-method-xlib.c +++ b/src/mule/input-method-xlib.c @@ -418,7 +418,7 @@ XIM_init_frame (struct frame *f) void XIM_SetGeometry (struct frame *f) { - XIC xic; + XIC xic; XIMStyle style; XRectangle area; @@ -427,8 +427,8 @@ XIM_SetGeometry (struct frame *f) } xic = FRAME_X_XIC (f); - if (!xic) { - return; + if (!xic) { + return; } style = FRAME_X_XIC_STYLE (f); @@ -710,7 +710,7 @@ EmacsXtCvtStringToXIMStyles ( XrmValue new_from; XtAppContext the_app_con = XtDisplayToApplicationContext (dpy); - len = snprintf(buf, sizeof(buf), + len = snprintf(buf, sizeof(buf), "Cannot convert string \"%s\" to type XIMStyles.\n" "Using default string \"%s\" instead.\n", fromVal->addr, DefaultXIMStyles); @@ -804,7 +804,7 @@ best_style (XIMStyles *user, XIMStyles *xim) return DEFAULTStyle; /* Default Style */ } -/* These lisp-callable functions will be sealed until xim-leim is needed. +/* These lisp-callable functions will be sealed until xim-leim is needed. Oct 22 1999 - kazz */ #if 0 /* @@ -939,13 +939,13 @@ void describe_Window (Window win) { char xwincmd[128]; - int sz = snprintf (xwincmd, sizeof(xwincmd), + int sz = snprintf (xwincmd, sizeof(xwincmd), "xwininfo -id 0x%x >&2; xwininfo -events -id 0x%x >&2", (int) win, (int) win); if ( sz >= 0 && (size_t) sz < sizeof(xwincmd) ) { int exit_code = system (xwincmd); if ( exit_code != 0 ) - stderr_out("command '%s' failed with exit code %d", + stderr_out("command '%s' failed with exit code %d", xwincmd, exit_code); } else stderr_out("Could not generate wininfo command line"); diff --git a/src/mule/mule-canna.c b/src/mule/mule-canna.c index 7368d45..70b595c 100644 --- a/src/mule/mule-canna.c +++ b/src/mule/mule-canna.c @@ -30,16 +30,16 @@ along with this program. If not, see . */ /* Authors: Akira Kon (kon@uxd.fc.nec.co.jp) - Ichiro Hirakura (hirakura@uxd.fc.nec.co.jp) + Ichiro Hirakura (hirakura@uxd.fc.nec.co.jp) Functions defined in this file are (canna-key-proc key) - key: single STRING - RETURNS: + key: single STRING + RETURNS: Length of converted string if no error occurs. Error string if error occurs. - DESCRIPTION: + DESCRIPTION: Convert a key input to a set of strings. The strings contain both well-formed string and a intermediate result to show the translation @@ -47,7 +47,7 @@ along with this program. If not, see . */ stored in specific variables. (canna-initialize) - RETURNS: + RETURNS: List of the following things: - list of keys to toggle Japanese-mode - error message diff --git a/src/mule/mule-ccl.c b/src/mule/mule-ccl.c index 99c8942..a158776 100644 --- a/src/mule/mule-ccl.c +++ b/src/mule/mule-ccl.c @@ -95,7 +95,7 @@ Lisp_Object Vccl_program_table; cccccccccccccccccccc rrr XXXXX or |------------- constant or other args ----------------| - cccccccccccccccccccccccccccc + cccccccccccccccccccccccccccc where, `cc...c' is a non-negative integer indicating constant value (the left most `c' is always 0) or an absolute jump address, `RRR' @@ -674,8 +674,8 @@ static int stack_idx_of_map_multiple; r[7] = LOWER_BYTE (SJIS (Y, Z) */ /* Terminate CCL program successfully. */ -#define CCL_SUCCESS \ - do { \ +#define CCL_SUCCESS \ + do { \ ccl->status = CCL_STAT_SUCCESS; \ /* The "if (1)" inhibits the warning \ "end-of loop code not reached" */ \ @@ -696,8 +696,8 @@ static int stack_idx_of_map_multiple; /* Terminate CCL program because of invalid command. Should not occur in the normal case. */ -#define CCL_INVALID_CMD \ - do { \ +#define CCL_INVALID_CMD \ + do { \ ccl->status = CCL_STAT_INVALID_CMD; \ /* The "if (1)" inhibits the warning \ "end-of loop code not reached" */ \ diff --git a/src/mule/mule-ccl.h b/src/mule/mule-ccl.h index 6254544..87ed848 100644 --- a/src/mule/mule-ccl.h +++ b/src/mule/mule-ccl.h @@ -43,7 +43,7 @@ struct ccl_program { int private_state; /* CCL instruction may use this for private use, mainly for saving internal states on suspending. - This variable is set to 0 when ccl is + This variable is set to 0 when ccl is set up. */ int last_block; /* Set to 1 while processing the last block. */ diff --git a/src/mule/mule-wnnfns.c b/src/mule/mule-wnnfns.c index 183082e..7c81024 100644 --- a/src/mule/mule-wnnfns.c +++ b/src/mule/mule-wnnfns.c @@ -21,8 +21,8 @@ along with this program. If not, see . */ /* Synched up with: Mule 2.3. Not in FSF. */ /* Jserver Interface for Mule - Coded by Yutaka Ishikawa at ETL (yisikawa@etl.go.jp) - Satoru Tomura at ETL (tomura@etl.go.jp) + Coded by Yutaka Ishikawa at ETL (yisikawa@etl.go.jp) + Satoru Tomura at ETL (tomura@etl.go.jp) Modified for Wnn4 library by Toshiaki Shingu (shingu@cpr.canon.co.jp) Hiroshi Kuribayashi (kuri@nff.ncl.omron.co.jp) */ -- 2.25.1