OSDN Git Service

* nlsfuncs.cc: Fix indentation.
authorcorinna <corinna>
Thu, 1 Apr 2010 20:30:07 +0000 (20:30 +0000)
committercorinna <corinna>
Thu, 1 Apr 2010 20:30:07 +0000 (20:30 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/nlsfuncs.cc

index 1ff7e24..a57cd08 100644 (file)
@@ -1,5 +1,9 @@
 2010-04-01  Corinna Vinschen  <corinna@vinschen.de>
 
+       * nlsfuncs.cc: Fix indentation.
+
+2010-04-01  Corinna Vinschen  <corinna@vinschen.de>
+
        * nlsfuncs.cc (rebase_locale_buf): New helper function to rebase
        function pointers in locale structures.  Explain why this is necessary.
        (__set_lc_time_from_win): Use rebase_locale_buf after realloc.
index ddf6d14..498b360 100644 (file)
@@ -332,7 +332,7 @@ locale_cmp (const void *a, const void *b)
    rebase all char * pointers within, up to the given size of the structure. */
 static void
 rebase_locale_buf (const void *ptrv, const char *newbase, const char *oldbase,
-                   const void *ptrvend)
+                  const void *ptrvend)
 {
   const char **ptrs = (const char **) ptrv;
   const char **ptrsend = (const char **) ptrvend;
@@ -694,7 +694,7 @@ __set_lc_time_from_win (const char *name, struct lc_time_T *_time_locale,
     }
   if (tmp != new_lc_time_buf)
     rebase_locale_buf (_time_locale, tmp, new_lc_time_buf,
-                       _time_locale + 1);
+                      _time_locale + 1);
   if (*lc_time_buf)
     free (*lc_time_buf);
   *lc_time_buf = tmp;
@@ -740,7 +740,7 @@ __set_lc_numeric_from_win (const char *name,
     }
   if (tmp != new_lc_numeric_buf)
     rebase_locale_buf (_numeric_locale, tmp, new_lc_numeric_buf,
-                       _numeric_locale + 1);
+                      _numeric_locale + 1);
   if (*lc_numeric_buf)
     free (*lc_numeric_buf);
   *lc_numeric_buf = tmp;
@@ -842,7 +842,7 @@ __set_lc_monetary_from_win (const char *name,
     }
   if (tmp != new_lc_monetary_buf)
     rebase_locale_buf (_monetary_locale, tmp, new_lc_monetary_buf,
-                       _monetary_locale + 1);
+                      _monetary_locale + 1);
   if (*lc_monetary_buf)
     free (*lc_monetary_buf);
   *lc_monetary_buf = tmp;