diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-07-27 08:06:27 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-07-27 08:06:27 +0100 |
commit | b38ed132a7df231fc08ce384d8559e6648fdd0cc (patch) | |
tree | a71b99edbc5ce15acfc2abec5e7c5b60edded5cd /files.c | |
parent | f678684b470f02d9fed4818eb92c2a925380c428 (diff) |
first step towards crop + some fixes to erase
Diffstat (limited to 'files.c')
-rw-r--r-- | files.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |