summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbox.c b/dbox.c
index 9cf8c96..aff6b69 100644
--- a/dbox.c
+++ b/dbox.c
@@ -857,7 +857,7 @@ static void SubSolve(const level_t *p_level, state_t *p_state, int p_depth,
if (p_depth >= p_max_depth)
{
- fprintf(stderr, "%s: blown maximum solution depeth of %d\n",
+ fprintf(stderr, "%s: blown maximum solution depth of %d\n",
g_name, p_max_depth);
return;
}
@@ -990,10 +990,10 @@ static void SubSolve(const level_t *p_level, state_t *p_state, int p_depth,
cache_size = g_cached_states;
}
- if (!warned && g_cached_states > max_cache)
+ if (p_depth > 1 && !warned && g_cached_states > max_cache)
{
printf("WARNING: got over four times the number of "
- "cached states at one depeth...\n");
+ "cached states at one depth...\n");
warned = TRUE;
}
}