summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vi/vi/vs_refresh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/vi/vs_refresh.c b/usr.bin/vi/vi/vs_refresh.c
index b3d557ebb2e..1119072c27f 100644
--- a/usr.bin/vi/vi/vs_refresh.c
+++ b/usr.bin/vi/vi/vs_refresh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vs_refresh.c,v 1.12 2006/03/04 16:18:06 miod Exp $ */
+/* $OpenBSD: vs_refresh.c,v 1.13 2006/03/11 06:55:56 ray Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -171,7 +171,7 @@ vs_paint(sp, flags)
VI_PRIVATE *vip;
recno_t lastline, lcnt;
size_t cwtotal, cnt, len, notused, off, y;
- int ch, didpaint, isempty, leftright_warp;
+ int ch = 0, didpaint, isempty, leftright_warp;
char *p;
#define LNO sp->lno /* Current file line. */