On 5/19/2010 9:09 PM, Joe Java wrote:
> I have a very old game that uses ncurses.
> 
> lines 602-603 are
>       /* this moves curses to bottom right corner */
>       mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);
> 
> lines 738-739 are the same as above.

ncurses is now compiled with reentrant support, which had the
unfortunate effect of changing the API slightly, by making the WINDOW
object an opaque pointer.  Instead of accessing the members of curscr
directly, you use accessor functions:

  curscr->_cury ---> getcury(curscr)
  curscr->_curx ---> getcurx(cursrc)

--
Chuck

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to