X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Flib_newterm.c;h=c276a0fccc1a4e0d08648c0a928a8da733c04147;hp=64cac85c5dfc62605aebb33b2154609d0c14eff2;hb=626c294438b51427d6dd6dd99d5d3eb8d3aaa2f9;hpb=f5da57ad7eb397b1001e2fca9cb0e278a6564716 diff --git a/ncurses/base/lib_newterm.c b/ncurses/base/lib_newterm.c index 64cac85c..c276a0fc 100644 --- a/ncurses/base/lib_newterm.c +++ b/ncurses/base/lib_newterm.c @@ -52,7 +52,7 @@ #include -MODULE_ID("$Id: lib_newterm.c,v 1.83 2009/11/07 16:27:05 tom Exp $") +MODULE_ID("$Id: lib_newterm.c,v 1.84 2009/11/28 22:43:51 tom Exp $") #ifdef USE_TERM_DRIVER #define NumLabels InfoOf(SP_PARM).numlabels @@ -201,6 +201,7 @@ NCURSES_SP_NAME(newterm) (NCURSES_SP_DCLx current = CURRENT_SCREEN; its_term = (current ? current->_term : 0); + INIT_TERM_DRIVER(); /* this loads the capability entry, then sets LINES and COLS */ if ( #if NCURSES_SP_FUNCS