Fix a couple of typos in messages.

[originally from svn r9401]
This commit is contained in:
Simon Tatham
2012-02-02 23:04:38 +00:00
parent 340c300c1d
commit e3b21ef6c5

4
solo.c
View File

@ -2402,7 +2402,7 @@ static void solver(int cr, struct block_structure *blocks,
scratch->indexlist[i*cr+n-1] = cubepos2(diag1(i), n); scratch->indexlist[i*cr+n-1] = cubepos2(diag1(i), n);
ret = solver_set(usage, scratch, scratch->indexlist ret = solver_set(usage, scratch, scratch->indexlist
#ifdef STANDALONE_SOLVER #ifdef STANDALONE_SOLVER
, "set elimination, \\-diagonal" , "set elimination, /-diagonal"
#endif #endif
); );
if (ret < 0) { if (ret < 0) {
@ -5578,7 +5578,7 @@ int main(int argc, char **argv)
dlev.diff==DIFF_IMPOSSIBLE ? "Impossible (no solution exists)": dlev.diff==DIFF_IMPOSSIBLE ? "Impossible (no solution exists)":
"INTERNAL ERROR: unrecognised difficulty code"); "INTERNAL ERROR: unrecognised difficulty code");
if (p->killer) if (p->killer)
printf("Killer diffculty: %s\n", printf("Killer difficulty: %s\n",
dlev.kdiff==DIFF_KSINGLE ? "Trivial (single square cages only)": dlev.kdiff==DIFF_KSINGLE ? "Trivial (single square cages only)":
dlev.kdiff==DIFF_KMINMAX ? "Simple (maximum sum analysis required)": dlev.kdiff==DIFF_KMINMAX ? "Simple (maximum sum analysis required)":
dlev.kdiff==DIFF_KSUMS ? "Intermediate (sum possibilities)": dlev.kdiff==DIFF_KSUMS ? "Intermediate (sum possibilities)":