shithub: puzzles

Download patch

ref: 3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0
parent: e841ab4367c18f5f6ab305bdce723a7744c7ebf3
author: Simon Tatham <anakin@pobox.com>
date: Sat Oct 15 11:01:40 EDT 2005

Small error in solver diagnostics.

[originally from svn r6402]

--- a/tents.c
+++ b/tents.c
@@ -875,7 +875,7 @@
 			    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];