From b4e918ddded4e38d72f1978b20186a10fa91e7d4 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 9 Nov 2003 13:01:44 +0000 Subject: [PATCH] * libee/ee.c: Fixed a compilation warning. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@84 92316355-f0b4-4df1-b90c-862c8a59935f --- 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);