projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed5fb7
)
Avoid noise diffs around logging of seed command.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 21 Mar 2023 19:05:31 +0000
(15:05 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 23 Mar 2023 15:28:53 +0000
(11:28 -0400)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 398081d4de2a486f40666dabfadffa0b42e8c39c..558edcf2a5dc191864d1a3ee5596d63cd0425791 100644
(file)
--- 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("
\n
Seed 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