[QGIS Commit] r10416 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Mar 25 14:03:31 EDT 2009
Author: wonder
Date: 2009-03-25 14:03:30 -0400 (Wed, 25 Mar 2009)
New Revision: 10416
Modified:
trunk/qgis/src/core/qgsgeometry.cpp
Log:
fix for wkb export with multipoints from Vita Cizek. Thanks!
Modified: trunk/qgis/src/core/qgsgeometry.cpp
===================================================================
--- trunk/qgis/src/core/qgsgeometry.cpp 2009-03-25 16:21:16 UTC (rev 10415)
+++ trunk/qgis/src/core/qgsgeometry.cpp 2009-03-25 18:03:30 UTC (rev 10416)
@@ -4334,7 +4334,7 @@
int geometrySize = 1 + 2 * sizeof( int );
for ( int i = 0; i < GEOSGetNumGeometries( mGeos ); i++ )
{
- geometrySize += 1 + 2 * sizeof( int ) + 2 * sizeof( double );
+ geometrySize += 1 + sizeof( int ) + 2 * sizeof( double );
}
mGeometry = new unsigned char[geometrySize];
More information about the QGIS-commit
mailing list