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);