chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop using NSApp in the OS X front end.
[sgt-puzzles.git]
/
unruly.c
diff --git
a/unruly.c
b/unruly.c
index 855ba361b79d9b39ad6327e1914524d0c3f52ac1..616e5e54c6bfc39a8401dc1d33e079d4899392ef 100644
(file)
--- a/
unruly.c
+++ b/
unruly.c
@@
-1012,7
+1012,7
@@
static int unruly_validate_unique(const game_state *state, int horizontal,
for (c = 0; c < nc; c++)
if (state->grid[r*rmult + c*cmult] != EMPTY)
nfull++;
- if (nfull != n
r
)
+ if (nfull != n
c
)
continue;
for (r2 = r+1; r2 < nr; r2++) {
int match = TRUE;