[postgis-tickets] r16957 - Fix typo in r16956
Darafei
komzpa at gmail.com
Sun Oct 28 09:10:47 PDT 2018
Author: komzpa
Date: 2018-10-28 21:10:46 -0700 (Sun, 28 Oct 2018)
New Revision: 16957
Modified:
branches/2.5/liblwgeom/lwgeom.c
Log:
Fix typo in r16956
Closes #4217
Modified: branches/2.5/liblwgeom/lwgeom.c
===================================================================
--- branches/2.5/liblwgeom/lwgeom.c 2018-10-29 03:22:38 UTC (rev 16956)
+++ branches/2.5/liblwgeom/lwgeom.c 2018-10-29 04:10:46 UTC (rev 16957)
@@ -2402,7 +2402,7 @@
clipped = lwgeom_intersection(geom, subbox);
lwgeom_simplify_in_place(clipped, 0.0, LW_TRUE);
lwgeom_free(subbox);
- if (clipped && !lwgeom_is_empty(geom))
+ if (clipped && !lwgeom_is_empty(clipped))
{
n += lwgeom_subdivide_recursive(clipped, dimension, maxvertices, depth, col);
lwgeom_free(clipped);
@@ -2412,7 +2412,7 @@
clipped = lwgeom_intersection(geom, subbox);
lwgeom_simplify_in_place(clipped, 0.0, LW_TRUE);
lwgeom_free(subbox);
- if (clipped && !lwgeom_is_empty(geom))
+ if (clipped && !lwgeom_is_empty(clipped))
{
n += lwgeom_subdivide_recursive(clipped, dimension, maxvertices, depth, col);
lwgeom_free(clipped);
More information about the postgis-tickets
mailing list