# HG changeset patch # User Markus Bröker # Date 1267823043 -3600 # Node ID 47731bdd72c965738a8eed74ba4678858684d2ec # Parent 6f6850407ccf18cb03cb1e0631f8f765f8a77f7d cosmetic changes committer: Markus Bröker diff --git a/ncurses.c b/ncurses.c --- a/ncurses.c +++ b/ncurses.c @@ -29,14 +29,14 @@ { if (!setlocale (LC_CTYPE, "")) { perror ("SETLOCALE"); - return EXIT_FAILURE; + exit (EXIT_FAILURE); } return EXIT_SUCCESS; } wchar_t func (WINDOW * win) { - wchar_t guess; + wchar_t guess = '\0'; char dest[6];