chiark / gitweb /
Patch from Ben Hutchings to fix an error-checking goof: Keen
authorSimon Tatham <anakin@pobox.com>
Sun, 16 May 2010 06:58:09 +0000 (06:58 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 16 May 2010 06:58:09 +0000 (06:58 +0000)
commit19fa275b6a92d8c17a68bc4180985c98a145c33a
treefa0aa96a2d120b91bb5211bd0c75a19517802e42
parentc539872613510e9bc6b951db1ab93d3a3b7873ff
Patch from Ben Hutchings to fix an error-checking goof: Keen
division clues were failing to light up as erroneous if the quotient
of the numbers in them came out right under rounded-down C integer
division (e.g. 2 and 5 would be accepted for a 2/ clue). Apparently
I copied the code that invents clues in the generator straight into
the solution checker, without remembering that the generator was
allowed to do it that way because exact divisibility had been
checked elsewhere.

[originally from svn r8951]
keen.c