diff --git a/sk1a/maze.c b/sk1a/maze.c index f0d1f8b..d930225 100644 --- a/sk1a/maze.c +++ b/sk1a/maze.c @@ -24,7 +24,7 @@ int solve_maze(char* maze, int size) { char maze2d[size][size]; for (int y = 0; y < size; y++) { for (int x = 0; x < size; x++) { - printf("%c ", maze[size * y + x]); + printf("%c", maze[size * y + x]); maze2d[y][x] = maze[size * y + x] == 'x' ? 'x' : 0; } printf("\n");