Index: main-gcu.c =================================================================== RCS file: /home/angband/angband/angband/src/main-gcu.c,v retrieving revision 1.4 diff -u -r1.4 main-gcu.c --- main-gcu.c 2001/01/22 19:01:57 1.4 +++ main-gcu.c 2001/06/27 17:05:43 @@ -455,6 +455,9 @@ */ static errr Term_xtra_gcu_alive(int v) { + int x, y; + + /* Suspend */ if (!v) { @@ -472,13 +475,11 @@ /* Flush the curses buffer */ (void)refresh(); -#ifdef SPECIAL_BSD - /* this moves curses to bottom right corner */ - mvcur(curscr->cury, curscr->curx, LINES - 1, 0); -#else - /* this moves curses to bottom right corner */ - mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0); -#endif + /* Get current cursor position */ + getyx(curscr, y, x); + + /* Move the cursor to bottom right corner */ + mvcur(y, x, LINES - 1, 0); /* Exit curses */ endwin(); @@ -539,6 +540,7 @@ */ static void Term_nuke_gcu(term *t) { + int x, y; term_data *td = (term_data *)(t->data); /* Delete this window */ @@ -555,13 +557,11 @@ start_color(); #endif -#ifdef SPECIAL_BSD - /* This moves curses to bottom right corner */ - mvcur(curscr->cury, curscr->curx, LINES - 1, 0); -#else - /* This moves curses to bottom right corner */ - mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0); -#endif + /* Get current cursor position */ + getyx(curscr, y, x); + + /* Move the cursor to bottom right corner */ + mvcur(y, x, LINES - 1, 0); /* Flush the curses buffer */ (void)refresh(); @@ -845,15 +845,20 @@ /* Determine picture to use */ switch (s[i] & 0x7F) { + +#ifdef ACS_CKBOARD /* Wall */ case '#': pic = ACS_CKBOARD; break; +#endif /* ACS_CKBOARD */ +#ifdef ACS_BOARD /* Mineral vein */ case '%': pic = ACS_BOARD; break; +#endif /* ACS_BOARD */ /* XXX */ default: