summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-01-21 16:51:56 -0700
committerKarl Williamson <public@khwilliamson.com>2014-01-22 11:45:59 -0700
commit648f6ebd266e00d980f3c2da896a137a82ef0371 (patch)
tree6124ee792630aad11b1c8d4051cc8b6288f5ecdf /locale.c
parent119ee68b322bc73b342f2052597ac5187f18d365 (diff)
downloadperl-648f6ebd266e00d980f3c2da896a137a82ef0371.tar.gz
locale.c: White-space only
This indents because the previous commit added a block
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/locale.c b/locale.c
index 7057127762..1c92721fdf 100644
--- a/locale.c
+++ b/locale.c
@@ -771,22 +771,22 @@ S_is_cur_LC_category_utf8(pTHX_ int category)
#else
# if defined(HAS_NL_LANGINFO) && defined(CODESET)
{
- char *codeset = savepv(nl_langinfo(CODESET));
- if (codeset) {
+ char *codeset = savepv(nl_langinfo(CODESET));
+ if (codeset) {
- /* If we switched LC_CTYPE, switch back */
- if (save_ctype_locale) {
- setlocale(LC_CTYPE, save_ctype_locale);
- Safefree(save_ctype_locale);
- }
+ /* If we switched LC_CTYPE, switch back */
+ if (save_ctype_locale) {
+ setlocale(LC_CTYPE, save_ctype_locale);
+ Safefree(save_ctype_locale);
+ }
- is_utf8 = foldEQ(codeset, STR_WITH_LEN("UTF-8"))
- || foldEQ(codeset, STR_WITH_LEN("UTF8"));
+ is_utf8 = foldEQ(codeset, STR_WITH_LEN("UTF-8"))
+ || foldEQ(codeset, STR_WITH_LEN("UTF8"));
- Safefree(codeset);
- Safefree(save_input_locale);
- return is_utf8;
- }
+ Safefree(codeset);
+ Safefree(save_input_locale);
+ return is_utf8;
+ }
}
# endif