summaryrefslogtreecommitdiff
path: root/usr.bin/vi
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi')
-rw-r--r--usr.bin/vi/vi/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vi/vi/vi.c b/usr.bin/vi/vi/vi.c
index 7fe4483d7c5..ebf121ec4e8 100644
--- a/usr.bin/vi/vi/vi.c
+++ b/usr.bin/vi/vi/vi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vi.c,v 1.9 2002/02/16 21:27:58 millert Exp $ */
+/* $OpenBSD: vi.c,v 1.10 2005/01/08 05:22:25 pvalchev Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -986,6 +986,7 @@ v_init(sp)
* line in the middle, otherwise, it won't work and we'll end up with
* the line at the top.
*/
+ F_CLR(sp, SC_SCR_TOP);
F_SET(sp, SC_SCR_REFORMAT | SC_SCR_CENTER);
/* Invalidate the cursor. */