aboutsummaryrefslogtreecommitdiff
path: root/midend.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-07-05 19:40:32 +0000
committerSimon Tatham <anakin@pobox.com>2005-07-05 19:40:32 +0000
commit968828283b7a0aacd71d4868846291b381884eb1 (patch)
tree241e8651974ca9d24a5f161c62c52782b8191cc7 /midend.c
parent4763b712fd0709a08b8e00144095df68cb37fcb1 (diff)
downloadpuzzles-968828283b7a0aacd71d4868846291b381884eb1.zip
puzzles-968828283b7a0aacd71d4868846291b381884eb1.tar.gz
puzzles-968828283b7a0aacd71d4868846291b381884eb1.tar.bz2
puzzles-968828283b7a0aacd71d4868846291b381884eb1.tar.xz
Enhancements to mkfiles.pl and Recipe to arrange for the auxiliary
command-line programs (solosolver, patternsolver, mineobfusc) to be built as part of the normal Makefiles. This means mkfiles.pl now has the capability to compile a source file more than once with different #defines. Also, fixes for those auxiliary programs and one fix in midend.c which the Borland compiler objected to while I was testing its makefile generation. [originally from svn r6066]
Diffstat (limited to 'midend.c')
-rw-r--r--midend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midend.c b/midend.c
index b5efda6..8223d87 100644
--- a/midend.c
+++ b/midend.c
@@ -381,7 +381,7 @@ static void midend_finish_move(midend_data *me)
void midend_stop_anim(midend_data *me)
{
- if (me->oldstate || me->anim_time) {
+ if (me->oldstate || me->anim_time != 0) {
midend_finish_move(me);
midend_redraw(me);
}