[geos-commits] r2304 - trunk/capi
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Mar 24 12:49:23 EDT 2009
Author: mloskot
Date: 2009-03-24 12:49:23 -0400 (Tue, 24 Mar 2009)
New Revision: 2304
Modified:
trunk/capi/geos_ts_c.cpp
Log:
Fixed bug introduced in recent refactoring work (r2281). This is the reason of PostGIS regression test failing (Issue 143)
Modified: trunk/capi/geos_ts_c.cpp
===================================================================
--- trunk/capi/geos_ts_c.cpp 2009-03-24 15:58:44 UTC (rev 2303)
+++ trunk/capi/geos_ts_c.cpp 2009-03-24 16:49:23 UTC (rev 2304)
@@ -1874,7 +1874,7 @@
try
{
Geometry *ret = g->getCentroid();
- if (0 != ret)
+ if (0 == ret)
{
const GeometryFactory *gf = handle->geomFactory;
return gf->createGeometryCollection();
More information about the geos-commits
mailing list