Skip to content

Commit

Permalink
[Geometry snapper] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jan 21, 2016
1 parent cf02a71 commit 7afdecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/geometry_snapper/qgssnapindex.cpp
Expand Up @@ -309,7 +309,7 @@ void QgsSnapIndex::addGeometry( const QgsAbstractGeometryV2* geom )
{
for ( int iPart = 0, nParts = geom->partCount(); iPart < nParts; ++iPart )
{
for ( int iRing = 0, nRings = geom->ringCount( iRing ); iRing < nRings; ++iRing )
for ( int iRing = 0, nRings = geom->ringCount( iPart ); iRing < nRings; ++iRing )
{
for ( int iVert = 0, nVerts = geom->vertexCount( iPart, iRing ) - 1; iVert < nVerts; ++iVert )
{
Expand Down

0 comments on commit 7afdecd

Please sign in to comment.