From cf279b722fbc2122f1e13a5f05f5268b4d196bd4 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 10 Sep 2004 06:32:01 +0000 Subject: cleanup --- watch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/watch.c b/watch.c index 29171b2..a81fcb4 100644 --- a/watch.c +++ b/watch.c @@ -167,12 +167,13 @@ readcmd(void) static void display(int ignored) { - int line_count = 0; + int line_count; char output[BUFSIZE]; FILE *pipe; (void) ignored; - move(0,0); + move(0, 0); + line_count = 0; if (f_notitle == 0) { title(); -- cgit v1.2.3