Skip to content
Permalink
Browse files

Fixed a crash when capturing polylines.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12954 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Feb 18, 2010
1 parent e508f3a commit 00019a6b3d0106ac828f9021a90bdc921c9dfb21
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 00019a6

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