chiark / gitweb /
James Harvey points out a missing ifdef.
authorSimon Tatham <anakin@pobox.com>
Tue, 5 Jul 2005 12:03:56 +0000 (12:03 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 5 Jul 2005 12:03:56 +0000 (12:03 +0000)
[originally from svn r6058]

pegs.c

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
 }
 
 /* ----------------------------------------------------------------------