Skip to content
Permalink
Browse files

Fixed a crash when capturing polylines.

git-svn-id: http://svn.osgeo.org/qgis/trunk@12954 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Feb 18, 2010
1 parent 3414424 commit 6369374ba6e179e7077056951d8d5d74f79409c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsgeometry.cpp
@@ -6394,7 +6394,7 @@ void QgsGeometry::validatePolyline( QList<Error> &errors, int i, QgsPolyline lin
while ( j < line.size() - 1 )
{
int n = 0;
while ( j < line.size() && line[j] == line[j+1] )
while ( j < line.size() - 1 && line[j] == line[j+1] )
{
line.remove( j );
n++;

0 comments on commit 6369374

Please sign in to comment.
You can’t perform that action at this time.