diff options
Diffstat (limited to 'nnn.c')
-rw-r--r-- | nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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(); |