summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_sup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_sup.c')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_sup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_sup.c b/sys/arch/i386/isa/pcvt/pcvt_sup.c
index d5c69772177..de0a56364d7 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_sup.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_sup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_sup.c,v 1.15 2000/01/18 19:34:42 aaron Exp $ */
+/* $OpenBSD: pcvt_sup.c,v 1.16 2000/02/27 20:34:36 aaron Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -747,7 +747,8 @@ reallocate_scrollbuffer(struct video_state *svsp, int pages)
}
bcopy(svsp->Crtat, svsp->Scrollback, svsp->screen_rows *
svsp->maxcol * CHR);
- svsp->scr_offset = svsp->row;
+
+ svsp->scr_offset = svsp->row - 1;
}
splx(s);
}