Skip to content

Commit 7afdecd

Browse files
committedJan 21, 2016
[Geometry snapper] Fix typo
1 parent cf02a71 commit 7afdecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/plugins/geometry_snapper/qgssnapindex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ void QgsSnapIndex::addGeometry( const QgsAbstractGeometryV2* geom )
309309
{
310310
for ( int iPart = 0, nParts = geom->partCount(); iPart < nParts; ++iPart )
311311
{
312-
for ( int iRing = 0, nRings = geom->ringCount( iRing ); iRing < nRings; ++iRing )
312+
for ( int iRing = 0, nRings = geom->ringCount( iPart ); iRing < nRings; ++iRing )
313313
{
314314
for ( int iVert = 0, nVerts = geom->vertexCount( iPart, iRing ) - 1; iVert < nVerts; ++iVert )
315315
{

0 commit comments

Comments
 (0)
Please sign in to comment.