ncurses.c
changeset 115 47731bdd72c9
parent 114 6f6850407ccf
child 118 17dff2c6fc88
--- 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];