aboutsummaryrefslogtreecommitdiff
path: root/html/pattern.html
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-08-24 19:38:29 +0100
committerSimon Tatham <anakin@pobox.com>2017-08-24 19:38:29 +0100
commitcb5e49ef1da51f6bd956739c9af5bdea3d99ee07 (patch)
tree7137abd2c410433e0e58a29d8af0f2f335e7903d /html/pattern.html
parent272beef5f98fecc59c975ea920c601836a6bb08c (diff)
downloadpuzzles-cb5e49ef1da51f6bd956739c9af5bdea3d99ee07.zip
puzzles-cb5e49ef1da51f6bd956739c9af5bdea3d99ee07.tar.gz
puzzles-cb5e49ef1da51f6bd956739c9af5bdea3d99ee07.tar.bz2
puzzles-cb5e49ef1da51f6bd956739c9af5bdea3d99ee07.tar.xz
Net: fix assertion failure on insoluble puzzles.
The solver code still had an assumption, which must have dated before the Solve menu option was introduced, that all puzzles presented to it had at least one valid solution, and was enforcing that assumption by assert(). Now the solver returns a more sensible failure code which solve_game() can convert into a proper error message.
Diffstat (limited to 'html/pattern.html')
0 files changed, 0 insertions, 0 deletions