chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df133c2
)
Correct block coordinate display when standalone solver shows its
author
Simon Tatham
<anakin@pobox.com>
Fri, 29 Apr 2005 08:11:01 +0000
(08:11 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Fri, 29 Apr 2005 08:11:01 +0000
(08:11 +0000)
working.
[originally from svn r5706]
solo.c
patch
|
blob
|
history
diff --git
a/solo.c
b/solo.c
index 87f1e744f9a36b6f3b5cc0de13e5f286beb77213..f6d28ecebb7a33a959ac5aef3722bfadc516efa3 100644
(file)
--- a/
solo.c
+++ b/
solo.c
@@
-1116,7
+1116,7
@@
static int nsolve(int c, int r, digit *grid)
#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
@@
static int nsolve(int c, int r, digit *grid)
#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);