summaryrefslogtreecommitdiffstats
path: root/src/libvpsc/solve_VPSC.cpp
diff options
context:
space:
mode:
authorTim Dwyer <tgdwyer@gmail.com>2006-07-17 06:03:13 +0000
committertgdwyer <tgdwyer@users.sourceforge.net>2006-07-17 06:03:13 +0000
commitbe33b17955cd4e6fda3050fa3056a6e56ce314bc (patch)
tree7583166c065080d86f753bc568486238e551d9d6 /src/libvpsc/solve_VPSC.cpp
parentminor performance improvement (diff)
downloadinkscape-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.cpp2
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) {