summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-02 18:08:53 +0100
committerBenBE <BenBE@geshi.org>2020-12-02 22:08:25 +0100
commit4f7d48aa24b20f92b3cd9438a446e345b849c39b (patch)
tree12a66f7c31f77d71b984bd5014f149c885f6e72b /CRT.c
parentb76eaf187a313c99fe008b069b8123b299752589 (diff)
Set locale only once and do not override it later
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/CRT.c b/CRT.c
index 51fc876b..b5429475 100644
--- a/CRT.c
+++ b/CRT.c
@@ -725,9 +725,6 @@ void CRT_init(const int* delay, int colorScheme, bool allowUnicode) {
CRT_colorScheme = COLORSCHEME_MONOCHROME;
CRT_setColors(CRT_colorScheme);
- /* initialize locale */
- setlocale(LC_CTYPE, "");
-
#ifdef HAVE_LIBNCURSESW
if (allowUnicode && String_eq(nl_langinfo(CODESET), "UTF-8")) {
CRT_utf8 = true;

© 2014-2024 Faster IT GmbH | imprint | privacy policy