summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-09-21 00:52:43 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-09-21 00:52:43 +0000
commit0c59ebcc19e5aa3caf4c5ebb2114ca4a983a1803 (patch)
treecc5db65ccad8b86e3a1a63ebc8a54d3a8fd4471a /sys/arch/i386/isa
parent8ba321c9f9b38acfd8972c8052de12b18ed23ac2 (diff)
Whoops, forgot to adjust a comparison when fixing the off-by-one error.
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_kbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_kbd.c b/sys/arch/i386/isa/pcvt/pcvt_kbd.c
index 74f4ace0f32..aeb2a367861 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_kbd.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_kbd.c,v 1.22 1999/09/08 12:56:42 aaron Exp $ */
+/* $OpenBSD: pcvt_kbd.c,v 1.23 1999/09/21 00:52:42 aaron Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -1486,7 +1486,7 @@ regular:
if ((key == 85) && shift_down && kbd_lastkey != 85)
{
- if (vsp->scr_offset >= (vsp->screen_rows - 1))
+ if (vsp->scr_offset > (vsp->screen_rows - 1))
{
if (!vsp->scrolling)
{