diff options
| author | Tim Dwyer <tgdwyer@gmail.com> | 2006-07-17 06:03:13 +0000 |
|---|---|---|
| committer | tgdwyer <tgdwyer@users.sourceforge.net> | 2006-07-17 06:03:13 +0000 |
| commit | be33b17955cd4e6fda3050fa3056a6e56ce314bc (patch) | |
| tree | 7583166c065080d86f753bc568486238e551d9d6 /src/libvpsc/solve_VPSC.cpp | |
| parent | minor performance improvement (diff) | |
| download | inkscape-be33b17955cd4e6fda3050fa3056a6e56ce314bc.tar.gz inkscape-be33b17955cd4e6fda3050fa3056a6e56ce314bc.zip | |
cleanup, remove warnings
(bzr r1429)
Diffstat (limited to 'src/libvpsc/solve_VPSC.cpp')
| -rw-r--r-- | src/libvpsc/solve_VPSC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvpsc/solve_VPSC.cpp b/src/libvpsc/solve_VPSC.cpp index ff0ff96bf..ec2c48d46 100644 --- a/src/libvpsc/solve_VPSC.cpp +++ b/src/libvpsc/solve_VPSC.cpp @@ -96,7 +96,7 @@ void Solver::refine() { // Solve shouldn't loop indefinately // ... but just to make sure we limit the number of iterations unsigned maxtries=100; - while(!solved&&maxtries>=0) { + while(!solved&&maxtries>0) { solved=true; maxtries--; for(set<Block*>::const_iterator i=bs->begin();i!=bs->end();++i) { |
