[QGIS Commit] r12954 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Feb 18 09:40:17 EST 2010
Author: wonder
Date: 2010-02-18 09:40:16 -0500 (Thu, 18 Feb 2010)
New Revision: 12954
Modified:
trunk/qgis/src/core/qgsgeometry.cpp
Log:
Fixed a crash when capturing polylines.
Modified: trunk/qgis/src/core/qgsgeometry.cpp
===================================================================
--- trunk/qgis/src/core/qgsgeometry.cpp 2010-02-17 11:22:52 UTC (rev 12953)
+++ trunk/qgis/src/core/qgsgeometry.cpp 2010-02-18 14:40:16 UTC (rev 12954)
@@ -6394,7 +6394,7 @@
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++;
More information about the QGIS-commit
mailing list