Fix: Fix hided var.

pull/5220/head
Kim Kulling 2023-09-06 14:56:09 +02:00
parent cdb3c74964
commit 245337aeae
1 changed files with 1 additions and 1 deletions

View File

@ -3208,7 +3208,7 @@ void Clipper::BuildResult(Paths &polys)
int cnt = PointCount(p);
if (cnt < 2) continue;
pg.reserve(cnt);
for (int i = 0; i < cnt; ++i)
for (int j = 0; j < cnt; ++j)
{
pg.push_back(p->Pt);
p = p->Prev;