aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unruly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unruly.c b/unruly.c
index 855ba36..616e5e5 100644
--- 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 != nr)
+ if (nfull != nc)
continue;
for (r2 = r+1; r2 < nr; r2++) {
int match = TRUE;