blob: 0dac310dbfe086f94518bfb9a0542892c129c077 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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 */
|