]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tty/lib_mvcur.c
ncurses 5.7 - patch 20100424
[ncurses.git] / ncurses / tty / lib_mvcur.c
index 2b6ea7aefec766c34cb71a8fc4baabb9ae7dfb8f..24cfa83ca9ee766f74163bdbd68f964df7722df3 100644 (file)
 #define CUR SP_TERMTYPE
 #endif
 
 #define CUR SP_TERMTYPE
 #endif
 
-MODULE_ID("$Id: lib_mvcur.c,v 1.121 2009/08/30 16:52:00 tom Exp $")
+MODULE_ID("$Id: lib_mvcur.c,v 1.123 2009/11/07 16:07:55 tom Exp $")
 
 
-#define WANT_CHAR(sp, y, x) (sp)->_newscr->_line[y].text[x]    /* desired state */
+#define WANT_CHAR(sp, y, x) NewScreen(sp)->_line[y].text[x]    /* desired state */
 
 #if NCURSES_SP_FUNCS
 #define BAUDRATE(sp)   sp->_term->_baudrate    /* bits per second */
 
 #if NCURSES_SP_FUNCS
 #define BAUDRATE(sp)   sp->_term->_baudrate    /* bits per second */
@@ -950,7 +950,7 @@ TINFO_MVCUR(NCURSES_SP_DCLx int yold, int xold, int ynew, int xnew)
     int code;
 
     TR(TRACE_CALLS | TRACE_MOVE, (T_CALLED("_nc_tinfo_mvcur(%p,%d,%d,%d,%d)"),
     int code;
 
     TR(TRACE_CALLS | TRACE_MOVE, (T_CALLED("_nc_tinfo_mvcur(%p,%d,%d,%d,%d)"),
-                                 SP_PARM, yold, xold, ynew, xnew));
+                                 (void *) SP_PARM, yold, xold, ynew, xnew));
 
     if (SP_PARM == 0) {
        code = ERR;
 
     if (SP_PARM == 0) {
        code = ERR;