summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap/solve_VPSC.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-05-23 07:41:37 +0000
committerrwst <rwst@users.sourceforge.net>2006-05-23 07:41:37 +0000
commit9a0c3a49801cd0f84adf3d32d71d05ca45dca9d5 (patch)
tree6d9cbdfe195cd820c77d05180f336f8ae79cbd38 /src/removeoverlap/solve_VPSC.cpp
parentwhoops, quoting of % (diff)
downloadinkscape-9a0c3a49801cd0f84adf3d32d71d05ca45dca9d5.tar.gz
inkscape-9a0c3a49801cd0f84adf3d32d71d05ca45dca9d5.zip
make loop var unsigned etc, remove compiler warnings
(bzr r974)
Diffstat (limited to 'src/removeoverlap/solve_VPSC.cpp')
-rw-r--r--src/removeoverlap/solve_VPSC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/removeoverlap/solve_VPSC.cpp b/src/removeoverlap/solve_VPSC.cpp
index 21865c518..77279c8a8 100644
--- a/src/removeoverlap/solve_VPSC.cpp
+++ b/src/removeoverlap/solve_VPSC.cpp
@@ -96,7 +96,7 @@ void VPSC::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) {