diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/isa/pcvt/pcvt_kbd.c | 4 |
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 c0241b26901..d5f71535824 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.33 2000/02/27 20:34:36 aaron Exp $ */ +/* $OpenBSD: pcvt_kbd.c,v 1.34 2000/02/28 02:39:15 aaron Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch. @@ -1106,7 +1106,7 @@ regular: if ((key == 85) && shift_down && (kbd_lastkey != 85 || !kbd_status.breakseen)) { - if (vsp->scr_offset >= vsp->row) { + if (vsp->scr_offset && vsp->scr_offset >= vsp->row) { if (!vsp->scrolling) { vsp->scrolling += vsp->row - 1; if (vsp->Scrollback) { |