summaryrefslogtreecommitdiff
path: root/src/fe-text/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/term.c')
-rw-r--r--src/fe-text/term.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fe-text/term.c b/src/fe-text/term.c
index 03004b10..a36e68fa 100644
--- a/src/fe-text/term.c
+++ b/src/fe-text/term.c
@@ -27,7 +27,6 @@
#include "mainwindows.h"
#ifdef HAVE_NL_LANGINFO
-# include <locale.h>
# include <langinfo.h>
#endif
@@ -155,7 +154,6 @@ void term_common_init(void)
read_settings();
#if defined (HAVE_NL_LANGINFO) && defined(CODESET)
- setlocale(LC_CTYPE, "");
if (strcmp(nl_langinfo(CODESET), "UTF-8") == 0) {
term_type = TERM_TYPE_UTF8;
term_set_input_type(TERM_TYPE_UTF8);