shithub: puzzles

Download patch

ref: d55d0b53f3f14e34246987af38263ba88470875a
parent: df133c2297d2a789fb29bf344edc9d32275016d5
author: Simon Tatham <anakin@pobox.com>
date: Fri Apr 29 04:11:01 EDT 2005

Correct block coordinate display when standalone solver shows its
working.

[originally from svn r5706]

--- a/solo.c
+++ b/solo.c
@@ -1116,7 +1116,7 @@
 #ifdef STANDALONE_SOLVER
                                           , "intersectional analysis,"
                                           " row %d vs block (%d,%d)",
-                                          1+YUNTRANS(y), 1+x, 1+y%r
+                                          1+YUNTRANS(y), 1+x/r, 1+y%r
 #endif
                                           ) ||
                          nsolve_intersect(usage, cubepos(x,y%r,n), r*cr,
@@ -1124,7 +1124,7 @@
 #ifdef STANDALONE_SOLVER
                                           , "intersectional analysis,"
                                           " block (%d,%d) vs row %d",
-                                          1+x, 1+y%r, 1+YUNTRANS(y)
+                                          1+x/r, 1+y%r, 1+YUNTRANS(y)
 #endif
                                           ))) {
                         diff = max(diff, DIFF_INTERSECT);