From 09d8eb42caef54f1dca38712b3b5fb3f2941a54f Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 9 Oct 2009 18:07:06 +0000 Subject: [PATCH] Fix incorrect use of flags macros git-svn-id: http://svn.osgeo.org/postgis/trunk@4634 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/g_box.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liblwgeom/g_box.c b/liblwgeom/g_box.c index fe23aa390..55813410a 100644 --- a/liblwgeom/g_box.c +++ b/liblwgeom/g_box.c @@ -71,8 +71,8 @@ int gbox_overlaps(GBOX g1, GBOX g2) { /* Make sure our boxes have the same dimensionality */ - if( ! (FLAGS_HAS_Z(g1.flags) == FLAGS_HAS_Z(g2.flags) && - FLAGS_HAS_M(g1.flags) == FLAGS_HAS_M(g2.flags) && + if( ! (FLAGS_GET_Z(g1.flags) == FLAGS_GET_Z(g2.flags) && + FLAGS_GET_M(g1.flags) == FLAGS_GET_M(g2.flags) && FLAGS_GET_GEODETIC(g1.flags) == FLAGS_GET_GEODETIC(g2.flags) ) ) { lwerror("gbox_overlaps: geometries have mismatched dimensionality"); -- 2.50.1