aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-10-15 15:01:40 +0000
committerSimon Tatham <anakin@pobox.com>2005-10-15 15:01:40 +0000
commit3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0 (patch)
tree5aa7d2762da9b851dbd8219bf2856ed7db229c06
parente841ab4367c18f5f6ab305bdce723a7744c7ebf3 (diff)
downloadpuzzles-3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0.zip
puzzles-3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0.tar.gz
puzzles-3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0.tar.bz2
puzzles-3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0.tar.xz
Small error in solver diagnostics.
[originally from svn r6402]
-rw-r--r--tents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tents.c b/tents.c
index b29fb22..dc22467 100644
--- a/tents.c
+++ b/tents.c
@@ -875,7 +875,7 @@ static int tents_solve(int w, int h, const char *grid, int *numbers,
printf("%s %d forces %s at %d,%d\n",
step==1 ? "row" : "column",
step==1 ? start/w : start,
- mrow[j] == TENT ? "tent" : "non-tent",
+ mthis[j] == TENT ? "tent" : "non-tent",
pos % w, pos / w);
#endif
soln[pos] = mthis[j];