summaryrefslogtreecommitdiff
path: root/src/__main.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-12 20:15:45 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-12 20:15:45 -0400
commita240143eabbacd97de490e578ba68337fd866683 (patch)
treeb05ab5e5e04dd083c416c789a80778d00d6dfece /src/__main.c
parent0b5079b8723804889f06c6ddbeef8a45c00d7b49 (diff)
restore setting up the default locale
Diffstat (limited to 'src/__main.c')
-rw-r--r--src/__main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/__main.c b/src/__main.c
index 358c1756..bce4eef0 100644
--- a/src/__main.c
+++ b/src/__main.c
@@ -51,7 +51,7 @@ void __main(int argc, char **argv)
stdout->prev = stdin;
stderr->prev = stdout;
- /* setlocale(LC_ALL, DEFAULT_LOCALE); */
+ setlocale(LC_ALL, DEFAULT_LOCALE);
- exit(main(argc, argv));
+ exit(main(argc, argv));
}