chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c4a6b
)
James Harvey points out a missing ifdef.
author
Simon Tatham
<anakin@pobox.com>
Tue, 5 Jul 2005 12:03:56 +0000
(12:03 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Tue, 5 Jul 2005 12:03:56 +0000
(12:03 +0000)
[originally from svn r6058]
pegs.c
patch
|
blob
|
history
diff --git
a/pegs.c
b/pegs.c
index f3f07bb44ffce94c80ca720b230e131c397bd66d..4cfd4a0776839e9343221d79a410873a4bff2176 100644
(file)
--- a/
pegs.c
+++ b/
pegs.c
@@
-486,7
+486,9
@@
static void pegs_generate(unsigned char *grid, int w, int h, random_state *rs)
printf("insufficient extent; trying again\n");
#endif
}
+#ifdef GENERATION_DIAGNOSTICS
fflush(stdout);
+#endif
}
/* ----------------------------------------------------------------------