summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.c b/console.c
index 19e2a38..e675ba2 100644
--- a/console.c
+++ b/console.c
@@ -10,7 +10,7 @@ void draw_board(int** board) {
int tileColor = 0;
for(int r = 0; r < 8; r++) {
tileColor = !tileColor;
- char* line = calloc(2 + (8 * 16) + 8, sizeof(char));
+ char* line = calloc(2 + (8 * 16) + 9, sizeof(char));
line[0] = '8' - r;
line[1] = ' ';
for(int c = 0; c < 8; c++) {