#endif
+#include <locale.h>
+
+
/*
* XXX XXX Hack -- POSIX uses "O_NONBLOCK" instead of "O_NDELAY"
*
mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
#else
/* this moves curses to bottom right corner */
- mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);
+ mvcur(getcury(curscr), getcurx(curscr), LINES - 1, 0);
#endif
/* Exit curses */
mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
#else
/* This moves curses to bottom right corner */
- mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);
+ mvcur(getcury(curscr), getcurx(curscr), LINES - 1, 0);
#endif
/* Flush the curses buffer */
static void hook_quit(cptr str)
{
+ /* Unused */
+ (void)str;
+
/* Exit curses */
endwin();
}
int num_term = 4, next_win = 0;
char path[1024];
+ /* Unused */
+ (void)argc;
+ (void)argv;
+
+
+ setlocale(LC_ALL, "");
+
#ifdef USE_SOUND
/* Build the "sound" path */