Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix QgsGeos::linePointDifference
  • Loading branch information
dgoedkoop committed Nov 10, 2015
1 parent 9a89408 commit c050571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeos.cpp
Expand Up @@ -551,7 +551,7 @@ GEOSGeometry* QgsGeos::linePointDifference( GEOSGeometry* GEOSsplitPoint ) const
//For each segment
QgsLineStringV2 newLine;
newLine.addVertex( line->pointN( 0 ) );
int nVertices = newLine.numPoints();
int nVertices = line->numPoints();
for ( int j = 1; j < ( nVertices - 1 ); ++j )
{
QgsPointV2 currentPoint = line->pointN( j );
Expand Down

0 comments on commit c050571

Please sign in to comment.