aboutsummaryrefslogtreecommitdiff
path: root/lightup.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2012-01-23 18:56:05 +0000
committerSimon Tatham <anakin@pobox.com>2012-01-23 18:56:05 +0000
commit4eb748a29c7fab6b666e9841297975d11d9681df (patch)
tree41cb75c639d5d71b7e16d8cf29b13e2718f1b218 /lightup.c
parent5c972e9ebf009a3d03b86fb8434035c0a85f73aa (diff)
downloadpuzzles-4eb748a29c7fab6b666e9841297975d11d9681df.zip
puzzles-4eb748a29c7fab6b666e9841297975d11d9681df.tar.gz
puzzles-4eb748a29c7fab6b666e9841297975d11d9681df.tar.bz2
puzzles-4eb748a29c7fab6b666e9841297975d11d9681df.tar.xz
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]
Diffstat (limited to 'lightup.c')
-rw-r--r--lightup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lightup.c b/lightup.c
index 3747ec1..47b49b2 100644
--- a/lightup.c
+++ b/lightup.c
@@ -1677,7 +1677,7 @@ static char *solve_game(game_state *state, game_state *currstate,
/* 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: