X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/565394e763465110e6e9d46d9b3a9c87a3e41682..9d8d4f9f372324dabebabf17b376fd340ec576b6:/tents.c 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];