From 3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 15 Oct 2005 15:01:40 +0000 Subject: [PATCH] Small error in solver diagnostics. [originally from svn r6402] --- tents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];