Procházet zdrojové kódy

Fix #8: set loale post ncurses init

master
Arun Prakash Jana před 7 roky
rodič
revize
eb053063c2
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. +3
    -2
      nnn.c

+ 3
- 2
nnn.c Zobrazit soubor

@@ -477,6 +477,9 @@ initcurses(void)
keypad(stdscr, TRUE);
curs_set(FALSE); /* Hide cursor */
timeout(1000); /* One second */

/* Set locale */
setlocale(LC_ALL, "");
}

static void
@@ -1654,8 +1657,6 @@ main(int argc, char *argv[])
exit(1);
}

/* Set locale before curses setup */
setlocale(LC_ALL, "");
initcurses();
browse(ipath, ifilter);
exitcurses();


Načítá se…
Zrušit
Uložit