aboutsummaryrefslogtreecommitdiff
path: root/src/nissy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nissy.c')
-rw-r--r--src/nissy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nissy.c b/src/nissy.c
index 0811861..5423d8d 100644
--- a/src/nissy.c
+++ b/src/nissy.c
@@ -328,10 +328,10 @@ nissy_solve(
328 return NISSY_ERROR_INVALID_CUBE; 328 return NISSY_ERROR_INVALID_CUBE;
329 } 329 }
330 330
331 if (maxmoves > 20) { 331 if (maxmoves > SOLUTION_MAXLEN) {
332 LOG("[solve] 'maxmoves' larger than 20 not supported yet, " 332 LOG("[solve] 'maxmoves' larger than %d not supported yet, "
333 "setting it to 20\n"); 333 "setting it to %d\n", SOLUTION_MAXLEN, SOLUTION_MAXLEN);
334 maxmoves = 20; 334 maxmoves = SOLUTION_MAXLEN;
335 } 335 }
336 336
337 if (minmoves > maxmoves) { 337 if (minmoves > maxmoves) {

Generated with cgit - Back to sebastiano.tronto.net