summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-31 04:48:12 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-31 04:48:12 +0000
commitaa0475fdaaca962ed6aa05d71d48ad1b5f2c476c (patch)
treec01fa760745f757036cbae240193422afca0fc15 /sys
parentc424850e06fedfd0827e5a1e8de001f20bfc25cc (diff)
off by one in clear screen code
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/wscons/wscons_emul.c6
-rw-r--r--sys/dev/wscons/wscons_emul.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/arch/alpha/wscons/wscons_emul.c b/sys/arch/alpha/wscons/wscons_emul.c
index a7ffae29c02..57c3bdb4e8f 100644
--- a/sys/arch/alpha/wscons/wscons_emul.c
+++ b/sys/arch/alpha/wscons/wscons_emul.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_emul.c,v 1.9 1997/07/31 04:10:24 kstailey Exp $ */
+/* $OpenBSD: wscons_emul.c,v 1.10 1997/07/31 04:48:11 kstailey Exp $ */
/* $NetBSD: wscons_emul.c,v 1.7 1996/11/19 05:23:13 cgd Exp $ */
/*
@@ -143,9 +143,7 @@ wscons_emul_input_normal(we, c)
break;
case ASCII_NP:
- (*we->ac_ef->wef_eraserows)(we->ac_efa,
- 0, we->ac_nrow - 1);
-
+ (*we->ac_ef->wef_eraserows)(we->ac_efa, 0, we->ac_nrow);
we->ac_ccol = 0;
we->ac_crow = 0;
break;
diff --git a/sys/dev/wscons/wscons_emul.c b/sys/dev/wscons/wscons_emul.c
index a7ffae29c02..57c3bdb4e8f 100644
--- a/sys/dev/wscons/wscons_emul.c
+++ b/sys/dev/wscons/wscons_emul.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_emul.c,v 1.9 1997/07/31 04:10:24 kstailey Exp $ */
+/* $OpenBSD: wscons_emul.c,v 1.10 1997/07/31 04:48:11 kstailey Exp $ */
/* $NetBSD: wscons_emul.c,v 1.7 1996/11/19 05:23:13 cgd Exp $ */
/*
@@ -143,9 +143,7 @@ wscons_emul_input_normal(we, c)
break;
case ASCII_NP:
- (*we->ac_ef->wef_eraserows)(we->ac_efa,
- 0, we->ac_nrow - 1);
-
+ (*we->ac_ef->wef_eraserows)(we->ac_efa, 0, we->ac_nrow);
we->ac_ccol = 0;
we->ac_crow = 0;
break;