fix variable shadowing in clipper

This commit is contained in:
Dane Springmeyer 2015-04-05 02:23:31 -04:00
parent bc77157c57
commit 369a82e421

View file

@ -3164,7 +3164,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;