diff options
author | Daniel Burrows <dburrows@debian.org> | 2007-11-21 21:05:27 -0800 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2007-11-21 21:05:27 -0800 |
commit | a2d2354294b5ed4ff0b3405e7fd1fe9a6dbcc486 (patch) | |
tree | fda1064eafb180e8f9e18fe70648e2ef28a87500 /src/ui.cc | |
parent | fa32b03879d0d25b5862e9ec422ebdf7e36465bd (diff) | |
download | aptitude-a2d2354294b5ed4ff0b3405e7fd1fe9a6dbcc486.tar.gz |
Suppress generating solutions unless the limit is positive, not just nonzero.
Diffstat (limited to 'src/ui.cc')
-rw-r--r-- | src/ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1855,7 +1855,7 @@ static void start_solution_calculation(bool blocking) const int limit = aptcfg->FindI(PACKAGE "::ProblemResolver::StepLimit", 5000); const int wait_steps = aptcfg->FindI(PACKAGE "::ProblemResolver::WaitSteps", 50); - if(limit != 0) + if(limit > 0) { interactive_continuation * const k = new interactive_continuation(resman); |