diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1ff7e2402..a57cd0864 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2010-04-01 Corinna Vinschen + + * nlsfuncs.cc: Fix indentation. + 2010-04-01 Corinna Vinschen * nlsfuncs.cc (rebase_locale_buf): New helper function to rebase diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index ddf6d14da..498b36008 100644 --- a/winsup/cygwin/nlsfuncs.cc +++ b/winsup/cygwin/nlsfuncs.cc @@ -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;