equal
deleted
inserted
replaced
27 |
27 |
28 int check_locale () |
28 int check_locale () |
29 { |
29 { |
30 if (!setlocale (LC_CTYPE, "")) { |
30 if (!setlocale (LC_CTYPE, "")) { |
31 perror ("SETLOCALE"); |
31 perror ("SETLOCALE"); |
32 return EXIT_FAILURE; |
32 exit (EXIT_FAILURE); |
33 } |
33 } |
34 return EXIT_SUCCESS; |
34 return EXIT_SUCCESS; |
35 } |
35 } |
36 |
36 |
37 wchar_t func (WINDOW * win) |
37 wchar_t func (WINDOW * win) |
38 { |
38 { |
39 wchar_t guess; |
39 wchar_t guess = '\0'; |
40 |
40 |
41 char dest[6]; |
41 char dest[6]; |
42 |
42 |
43 int maxx; |
43 int maxx; |
44 int maxy; |
44 int maxy; |