From 5c34e048aedd610b3a219d6c440e62bba2246692 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 9 Nov 2003 13:01:44 +0000 Subject: [PATCH] * libee/ee.c: Fixed a compilation warning. --- libee/ee.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libee/ee.c b/libee/ee.c index 75066c9..3512437 100644 --- a/libee/ee.c +++ b/libee/ee.c @@ -24,6 +24,7 @@ #include #include +#include #include #include @@ -128,7 +129,7 @@ void ee_clear(void) memset(empty_line, ' ', x); empty_line[x] = '\0'; - for(y; y--;) + while(y--) { ee_goto(0, y); ee_putstr(empty_line);