summaryrefslogtreecommitdiff
path: root/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'files.c')
-rw-r--r--files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.c b/files.c
index 811a9bc..c007eac 100644
--- a/files.c
+++ b/files.c
@@ -53,7 +53,7 @@ void load_file(FILE *fc){
while((fgets(screen[i].s, WIDTH+2, fin)) != NULL && i<HEIGHT)
screen[i++].s[WIDTH-1]='\0';
for(;i<HEIGHT; i++){
- erase_line(screen[i].s);
+ erase_line(i);
}
fclose(fin);
}