diff options
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 2 |
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; } |