Skip to content

Commit 00019a6

Browse files
author
wonder
committedFeb 18, 2010
Fixed a crash when capturing polylines.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12954 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsgeometry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6394,7 +6394,7 @@ void QgsGeometry::validatePolyline( QList<Error> &errors, int i, QgsPolyline lin
63946394
while ( j < line.size() - 1 )
63956395
{
63966396
int n = 0;
6397-
while ( j < line.size() && line[j] == line[j+1] )
6397+
while ( j < line.size() - 1 && line[j] == line[j+1] )
63986398
{
63996399
line.remove( j );
64006400
n++;

0 commit comments

Comments
 (0)
Please sign in to comment.