X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/18b3e161662ab6a19336d7014eea0aa5e5993d05..e1b8b453c18f4da5d9cb736106447db2cc4135a2:/singles.c diff --git a/singles.c b/singles.c index ef7730d..31c7214 100644 --- a/singles.c +++ b/singles.c @@ -1941,13 +1941,13 @@ int main(int argc, char **argv) if (verbose) { tgame = game_text_format(s); - printf(tgame); + fputs(tgame, stdout); sfree(tgame); } soln = solve_specific(s, DIFF_ANY, 0); tgame = game_text_format(s); - printf(tgame); + fputs(tgame, stdout); sfree(tgame); printf("Game was %s.\n\n", soln < 0 ? "impossible" : soln > 0 ? "solved" : "not solved");