summaryrefslogtreecommitdiff
path: root/sirtet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sirtet.c')
-rw-r--r--sirtet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sirtet.c b/sirtet.c
index 3dc76f3..6031ec5 100644
--- a/sirtet.c
+++ b/sirtet.c
@@ -51,7 +51,7 @@ int clearfull(char** map, int mapH, int mapW) {
for (int c = 0; c < mapW; c++) {
if (cols_to_clear[c]) {
ctc_count++;
- for (int r = 0; r < mapW; r++)
+ for (int r = 0; r < mapH; r++)
map[r][c] = ' ';
}
}