ref: 4eb748a29c7fab6b666e9841297975d11d9681df
parent: 5c972e9ebf009a3d03b86fb8434035c0a85f73aa
author: Simon Tatham <anakin@pobox.com>
date: Mon Jan 23 13:56:05 EST 2012
The Light Up solver limits its recursion depth, so if it fails to find a solution then it should not deduce that no solution exists. Change wording of the error message returned from the Solve user action. [originally from svn r9387]
--- a/lightup.c
+++ b/lightup.c
@@ -1677,7 +1677,7 @@
/* That didn't work; try solving from the clean puzzle. */
solved = dup_game(state);
if (dosolve(solved, sflags, NULL) > 0) goto solved;
- *error = "Puzzle is not self-consistent.";
+ *error = "Unable to find a solution to this puzzle.";
goto done;
solved: