$NetBSD: patch-ab,v 1.4 2000/07/13 11:09:18 abs Exp $ --- netconsole/fill_window.c.orig Thu Jul 13 11:15:34 2000 +++ netconsole/fill_window.c Thu Jul 13 11:15:51 2000 @@ -38,7 +38,7 @@ #include "netconsole.h" -#define WFULL(w) (w->_cury == (w->_maxy - 1)) ? 1:0 +#define WFULL(w) (getcury(w) == (getmaxy(w) - 1)) ? 1:0 fill_window(win, dirp, dir, pcurfd, dpy_func) WINDOW *win; /* Window to be filled */