Whitespace cleanup in src/mule
authorSteve Youngs <steve@sxemacs.org>
Sat, 28 Jan 2012 06:39:24 +0000 (16:39 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sat, 28 Jan 2012 06:39:24 +0000 (16:39 +1000)
Signed-off-by: Steve Youngs <steve@sxemacs.org>
src/mule/Makefile.am
src/mule/file-coding.c
src/mule/input-method-xlib.c
src/mule/mule-canna.c
src/mule/mule-ccl.c
src/mule/mule-ccl.h
src/mule/mule-wnnfns.c

index f5292e8..2fc9232 100644 (file)
@@ -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)
index b6241eb..094da82 100644 (file)
@@ -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.
    <GETA MARK> (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);
index ef5c0bd..0f7bd38 100644 (file)
@@ -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");
index 7368d45..70b595c 100644 (file)
@@ -30,16 +30,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 /*
 
   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 <http://www.gnu.org/licenses/>. */
                         stored in specific variables.
 
   (canna-initialize)
-               RETURNS:
+               RETURNS:
                        List of the following things:
                        - list of keys to toggle Japanese-mode
                        - error message
index 99c8942..a158776 100644 (file)
@@ -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" */ \
index 6254544..87ed848 100644 (file)
@@ -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. */
index 183082e..7c81024 100644 (file)
@@ -21,8 +21,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 /* 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) */