From: simon Date: Mon, 23 Jan 2012 18:56:05 +0000 (+0000) Subject: The Light Up solver limits its recursion depth, so if it fails to find X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/522cc971b8020d03f598b8413c82658fdd556fd5 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. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9387 cda61777-01e9-0310-a592-d414129be87e --- 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: