3 --- netconsole/build_display.c.orig Thu Jul 13 11:13:37 2000
4 +++ netconsole/build_display.c Thu Jul 13 11:15:26 2000
6 #include "netconsole.h"
9 -#define WFULL(w) (w->_cury == (w->_maxy - 1)) ? 1:0
10 +#define WFULL(w) (getcury(w) == (getmaxy(w) - 1)) ? 1:0
15 * Am calling touchwin() since its foolproof (see discussion above)
18 - y = aw.wprompt->_cury + aw.wprompt->_begy ; /* force cursor loc.. */
19 - x = aw.wprompt->_curx + aw.wprompt->_begx ; /* ..to prompt window */
20 + y = getcury(aw.wprompt) + getbegy(aw.wprompt); /* force cursor loc.. */
21 + x = getcurx(aw.wprompt) + getbegx(aw.wprompt); /* ..to prompt window */
22 wmove(aw.wmain, y, x);
23 wrefresh (aw.wmain); /* Onto screen */