]> granicus.if.org Git - postgis/commitdiff
Astyle run (a-ha, got you!)
authorSandro Santilli <strk@keybit.net>
Thu, 4 Feb 2010 20:30:44 +0000 (20:30 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 4 Feb 2010 20:30:44 +0000 (20:30 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5203 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography_gist.c

index 7a0f4cc7dd55e7a207616a61caefb96defb3b847..b22f0fb21f652dd795facb7e25c5535a75c99980 100644 (file)
@@ -646,8 +646,8 @@ Datum geography_overlaps(PG_FUNCTION_ARGS)
        /* Must be able to build box for each arguement (ie, not empty geometry)
           and overlap boxes to return true. */
        if ( geography_datum_gidx(PG_GETARG_DATUM(0), gbox1) &&
-            geography_datum_gidx(PG_GETARG_DATUM(1), gbox2) &&
-            gidx_overlaps(gbox1, gbox2) )
+               geography_datum_gidx(PG_GETARG_DATUM(1), gbox2) &&
+               gidx_overlaps(gbox1, gbox2) )
        {
                PG_RETURN_BOOL(TRUE);
        }