summaryrefslogtreecommitdiff
path: root/net/nocol/patches/patch-ac
blob: 66ea987a456ddbb259fe6337221de0c24be8dc11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.4 2000/07/13 11:09:18 abs Exp $

--- netconsole/help_page.c.orig	Thu Jul 13 11:16:00 2000
+++ netconsole/help_page.c	Thu Jul 13 11:16:32 2000
@@ -38,7 +38,7 @@
 # define HELPFILE	"helpfile"
 #endif
 
-#define WFULL(w)  	(w->_cury == (w->_maxy - 2)) ? 1:0
+#define WFULL(w)        (getcury(w) == (getmaxy(w) - 2)) ? 1:0
 
 help_page()
 {