summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 15:25:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 15:25:28 +0000
commit66fd9d44d87240164588b42c887b6e3d6ee99308 (patch)
treef2b2fee9d1c6f273e07c32f7f84dc5bb5d7c7ba8 /encoding.c
parent82b1bfe417120de96737de88f406e1b877cef5f7 (diff)
adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index b9e820fa29..c94dc90a7e 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1487,7 +1487,7 @@ rb_locale_charmap(VALUE klass)
# endif
if (!codeset) {
UINT codepage = GetConsoleCP();
- if(!codepage) codepage = GetACP();
+ if (!codepage) codepage = GetACP();
snprintf(cp, sizeof(cp), "CP%d", codepage);
codeset = cp;
}