summaryrefslogtreecommitdiff
path: root/thirdparty/misc/polypartition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/misc/polypartition.cpp')
-rw-r--r--thirdparty/misc/polypartition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/misc/polypartition.cpp b/thirdparty/misc/polypartition.cpp
index 8c5409bf24..df144c57a6 100644
--- a/thirdparty/misc/polypartition.cpp
+++ b/thirdparty/misc/polypartition.cpp
@@ -262,7 +262,7 @@ int TPPLPartition::RemoveHoles(TPPLPolyList *inpolys, TPPLPolyList *outpolys) {
}
}
pointvisible = true;
- for (iter2 = polys.front(); iter2; iter2->next()) {
+ for (iter2 = polys.front(); iter2; iter2 = iter2->next()) {
if (iter2->get().IsHole()) {
continue;
}