summaryrefslogtreecommitdiff
path: root/usr.bin/window/wwclreos.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-23 14:10:59 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-23 14:10:59 +0000
commit788935aae6a144972fa10842f9031274539ea15b (patch)
tree674bae9f7be243ff2c0b5081323ea26178135c04 /usr.bin/window/wwclreos.c
parenta1af50e492a0fe75c1d06ee538abb365947fb218 (diff)
Minor cleanup for 8-bit cleanliness. From der Mouse, PR 1322.
Eliminate the use of char variables for holding booleans. Compress struct ww somewhat. Make ww_index and related variables explicitly unsigned.
Diffstat (limited to 'usr.bin/window/wwclreos.c')
-rw-r--r--usr.bin/window/wwclreos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/window/wwclreos.c b/usr.bin/window/wwclreos.c
index e89c2b6ccff..5a348d5ef6c 100644
--- a/usr.bin/window/wwclreos.c
+++ b/usr.bin/window/wwclreos.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wwclreos.c,v 1.3 1995/09/28 10:35:18 tls Exp $ */
+/* $NetBSD: wwclreos.c,v 1.4 1996/02/08 20:45:07 mycroft Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)wwclreos.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$NetBSD: wwclreos.c,v 1.3 1995/09/28 10:35:18 tls Exp $";
+static char rcsid[] = "$NetBSD: wwclreos.c,v 1.4 1996/02/08 20:45:07 mycroft Exp $";
#endif
#endif /* not lint */
@@ -56,6 +56,6 @@ register struct ww *w;
for (i = row + 1; i < w->ww_b.b; i++)
wwclreol(w, i, w->ww_b.l);
/* XXX */
- if (!w->ww_noupdate)
+ if (!ISSET(w->ww_wflags, WWW_NOUPDATE))
wwupdate1(w->ww_i.t, w->ww_i.b);
}