From 00d635bea95cb42c3b687020e6ef36bae4b0e847 Mon Sep 17 00:00:00 2001 From: ninya9k <> Date: Mon, 13 Nov 2023 10:29:13 +0000 Subject: [PATCH] fix debug boards view --- uttt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uttt.c b/uttt.c index 6a600a9..2475eb9 100644 --- a/uttt.c +++ b/uttt.c @@ -151,7 +151,7 @@ void ut_show(const struct ut_state *state) { void ut_show_boards(const struct ut_state *state) { for (int j = 0; j < 3; j++) { for (int i = 0; i < 3; i++) { - putchar(state->boards[j][i]); + putchar(state->boards[j][i] ? state->boards[j][i] : ' '); } putchar('\n'); }