diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-31 04:48:12 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-31 04:48:12 +0000 |
commit | aa0475fdaaca962ed6aa05d71d48ad1b5f2c476c (patch) | |
tree | c01fa760745f757036cbae240193422afca0fc15 /sys | |
parent | c424850e06fedfd0827e5a1e8de001f20bfc25cc (diff) |
off by one in clear screen code
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/wscons/wscons_emul.c | 6 | ||||
-rw-r--r-- | sys/dev/wscons/wscons_emul.c | 6 |
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; |