aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'nnn.c')
-rw-r--r--nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nnn.c b/nnn.c
index e792591..e10161c 100644
--- a/nnn.c
+++ b/nnn.c
@@ -477,9 +477,6 @@ initcurses(void)
keypad(stdscr, TRUE);
curs_set(FALSE); /* Hide cursor */
timeout(1000); /* One second */
-
- /* Set locale */
- setlocale(LC_ALL, "");
}
static void
@@ -1674,6 +1671,9 @@ main(int argc, char *argv[])
exit(1);
}
+ /* Set locale */
+ setlocale(LC_ALL, "");
+
initcurses();
browse(ipath, ifilter);
exitcurses();