summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/solve.c b/solve.c
index 9cfa38f..a5f02bf 100644
--- a/solve.c
+++ b/solve.c
@@ -33,7 +33,7 @@ int solve_row_col(struct cell (*b)[9][9])
{
total++;
} else {
- val = i + 1;
+ val = i;
}
}
if (total == 8) {
@@ -165,7 +165,7 @@ int cell_fill_certainties(struct cell (*b)[9][9], int bx, int by)
DEBUG_LOG("will_take_count is %d\n", will_take_count);
/* Don't make indeterminate choices here*/
if (will_take_count == 1) {
- printf("%c%c must be %d because it is the only place in its boxthis will fit\n",
+ printf("%c%c must be %d because it is the only place in its box this will fit\n",
NAME_CELL(will_take_x, will_take_y),
val);
(*b)[will_take_x][will_take_y].val = val;