aboutsummaryrefslogtreecommitdiff
path: root/pegs.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-07-05 12:03:56 +0000
committerSimon Tatham <anakin@pobox.com>2005-07-05 12:03:56 +0000
commita4e3d69de23af4597fb1fd9a465f354a06568ffe (patch)
tree1d31a40c83559e496ef40d387d4e2c35b72edcfd /pegs.c
parent74c4a6bf27f6343d15478eb671dd02800a07286e (diff)
downloadpuzzles-a4e3d69de23af4597fb1fd9a465f354a06568ffe.zip
puzzles-a4e3d69de23af4597fb1fd9a465f354a06568ffe.tar.gz
puzzles-a4e3d69de23af4597fb1fd9a465f354a06568ffe.tar.bz2
puzzles-a4e3d69de23af4597fb1fd9a465f354a06568ffe.tar.xz
James Harvey points out a missing ifdef.
[originally from svn r6058]
Diffstat (limited to 'pegs.c')
-rw-r--r--pegs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pegs.c b/pegs.c
index f3f07bb..4cfd4a0 100644
--- 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
}
/* ----------------------------------------------------------------------