#include <tic.h>
#ifndef CUR
-#define CUR SP_TERMTYPE
+#define CUR SP_TERMTYPE
#endif
-MODULE_ID("$Id: lib_set_term.c,v 1.122 2009/05/10 00:48:29 tom Exp $")
+MODULE_ID("$Id: lib_set_term.c,v 1.124 2009/06/27 21:36:14 tom Exp $")
NCURSES_EXPORT(SCREEN *)
set_term(SCREEN *screenp)
}
T(("created SP %p", SP));
+#if NCURSES_SP_FUNCS
+ sp = SP; /* fixup so SET_LINES and SET_COLS works */
+#endif
SP->_next_screen = _nc_screen_chain;
_nc_screen_chain = SP;
curscr = SP->_curscr;
#endif
#if USE_SIZECHANGE
- SP->_resize = resizeterm;
+ SP->_resize = NCURSES_SP_NAME(resizeterm);
#endif
newscr->_clear = TRUE;