James Harvey points out a missing ifdef.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 5 Jul 2005 12:03:56 +0000 (12:03 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 5 Jul 2005 12:03:56 +0000 (12:03 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6058 cda61777-01e9-0310-a592-d414129be87e

pegs.c

diff --git a/pegs.c b/pegs.c
index f3f07bb..4cfd4a0 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
 }
 
 /* ----------------------------------------------------------------------