Correct kdiff setting.

[originally from svn r9403]
This commit is contained in:
Simon Tatham
2012-02-02 23:04:46 +00:00
parent e6b4800d86
commit bd20565c94

2
solo.c
View File

@ -2041,7 +2041,7 @@ static void solver(int cr, struct block_structure *blocks,
);
if (ret > 0) {
changed = TRUE;
kdiff = max(kdiff, DIFF_KINTERSECT);
kdiff = max(kdiff, DIFF_KSUMS);
} else if (ret < 0) {
diff = DIFF_IMPOSSIBLE;
goto got_result;