summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-07-11 16:23:10 -0600
committerKarl Williamson <khw@cpan.org>2014-07-12 08:41:14 -0600
commit59c234b49f2ab31e3ac9b8262fbdf14374e3c47f (patch)
tree97548ce12e2e625f9364394f7bc6662df2c72783 /locale.c
parent13542a672c452ec18019610f83e9a2b8bfd16fea (diff)
downloadperl-59c234b49f2ab31e3ac9b8262fbdf14374e3c47f.tar.gz
locale.c: White-space only
Indent and outdent blocks of code to conform to newly formed or removed braces
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/locale.c b/locale.c
index 8192007f2d..9006486c8f 100644
--- a/locale.c
+++ b/locale.c
@@ -1195,11 +1195,11 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category)
save_monetary_locale = NULL;
}
else if (! setlocale(LC_MONETARY, save_input_locale)) {
- DEBUG_L(PerlIO_printf(Perl_debug_log,
- "Could not change LC_MONETARY locale to %s\n",
- save_input_locale));
- Safefree(save_monetary_locale);
- goto cant_use_monetary;
+ DEBUG_L(PerlIO_printf(Perl_debug_log,
+ "Could not change LC_MONETARY locale to %s\n",
+ save_input_locale));
+ Safefree(save_monetary_locale);
+ goto cant_use_monetary;
}
}
@@ -1226,13 +1226,13 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category)
if (! only_ascii) {
- /* It isn't a UTF-8 locale if the symbol is not legal UTF-8; otherwise
- * assume the locale is UTF-8 if and only if the symbol is non-ascii
- * UTF-8. */
- DEBUG_L(PerlIO_printf(Perl_debug_log, "\t?Currency symbol for %s is UTF-8=%d\n",
- save_input_locale, is_utf8));
- Safefree(save_input_locale);
- return is_utf8;
+ /* It isn't a UTF-8 locale if the symbol is not legal UTF-8;
+ * otherwise assume the locale is UTF-8 if and only if the symbol
+ * is non-ascii UTF-8. */
+ DEBUG_L(PerlIO_printf(Perl_debug_log, "\t?Currency symbol for %s is UTF-8=%d\n",
+ save_input_locale, is_utf8));
+ Safefree(save_input_locale);
+ return is_utf8;
}
}
cant_use_monetary: