From: Eric S. Raymond Date: Tue, 21 Mar 2023 19:05:31 +0000 (-0400) Subject: Avoid noise diffs around logging of seed command. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=ffa9332ee3967f14f83621eb090521f9d43da14a;p=open-adventure.git Avoid noise diffs around logging of seed command. --- diff --git a/main.c b/main.c index 398081d..558edcf 100644 --- a/main.c +++ b/main.c @@ -147,7 +147,7 @@ static bool fallback_handler(signed char *buf) long sv; if (sscanf(buf, "seed %ld", &sv) == 1) { set_seed(sv); - printf("Seed set to %ld\n", sv); + printf("\nSeed set to %ld\n", sv); // autogenerated, so don't charge user time for it. --TURNS; // here we reconfigure any global game state that uses random numbers