cosmetic changes
authorMarkus Bröker <mbroeker@largo.dyndns.tv>
Fri, 05 Mar 2010 22:04:03 +0100
changeset 115 47731bdd72c9
parent 114 6f6850407ccf
child 116 ae784a3a45b1
cosmetic changes committer: Markus Bröker <mbroeker@largo.homelinux.org>
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];