diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-05-23 07:41:37 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-05-23 07:41:37 +0000 |
| commit | 9a0c3a49801cd0f84adf3d32d71d05ca45dca9d5 (patch) | |
| tree | 6d9cbdfe195cd820c77d05180f336f8ae79cbd38 /src/removeoverlap/solve_VPSC.cpp | |
| parent | whoops, quoting of % (diff) | |
| download | inkscape-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.cpp | 2 |
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) { |
