[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geos-commits
Subject:    [geos-commits] r2304 - trunk/capi
From:       svn_geos () osgeo ! org
Date:       2009-03-24 16:49:23
Message-ID: 20090324164923.E6A10E010C1 () lists ! osgeo ! org
[Download RAW message or body]

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();

_______________________________________________
geos-commits mailing list
geos-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic