Skip to content

Commit 8e567d8

Browse files
author
wonder
committed
fix for wkb export with multipoints from Vita Cizek. Thanks!
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10416 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 75811a3 commit 8e567d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsgeometry.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4334,7 +4334,7 @@ bool QgsGeometry::exportGeosToWkb()
43344334
int geometrySize = 1 + 2 * sizeof( int );
43354335
for ( int i = 0; i < GEOSGetNumGeometries( mGeos ); i++ )
43364336
{
4337-
geometrySize += 1 + 2 * sizeof( int ) + 2 * sizeof( double );
4337+
geometrySize += 1 + sizeof( int ) + 2 * sizeof( double );
43384338
}
43394339

43404340
mGeometry = new unsigned char[geometrySize];

0 commit comments

Comments
 (0)