From e9e503d5b25defe5291682a6203484564505bcdf Mon Sep 17 00:00:00 2001 From: Nakidai Date: Mon, 30 Oct 2023 15:52:25 +0300 Subject: [PATCH] Change length of line to SIZE*2 --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index eb17550..c24827c 100644 --- a/src/main.c +++ b/src/main.c @@ -84,7 +84,7 @@ int main(int argc, char **argv) *screenGetPoint(screen, food.x, food.y) = '@'; resetCoordinates(); screenShow(screen); - for (i = 0; i < 20; ++i) putchar('-'); + for (i = 0; i < SIZE*2; ++i) putchar('-'); printf("\nScore: %d\n", player->score); thrd_sleep(&(struct timespec){.tv_sec=1}, NULL);