summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-24 04:40:41 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:14 -0800
commit262393b9bf781fe84a3738d86c71bd6348d5b0b1 (patch)
treeb4d7f1d8991f394b355e16c99e30935666619500 /MobileCydia.mm
parent1212fcb67691e745cfce85c465233a6c4f2a81c0 (diff)
Add std::setlocale() (de-comment).
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index fc85695..bfcd2be 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9911,9 +9911,9 @@ int main(int argc, char *argv[]) { _pooled
else {
lang = [[Languages_ objectAtIndex:0] UTF8String];
setenv("LANG", lang, true);
+ std::setlocale(LC_ALL, lang);
}
- //std::setlocale(LC_ALL, lang);
NSLog(@"Setting Language: %s", lang);
/* }}} */