]> granicus.if.org Git - postgis/commitdiff
Formatting :/
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 29 Mar 2019 21:18:25 +0000 (21:18 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 29 Mar 2019 21:18:25 +0000 (21:18 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17372 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwstroke.c

index 166e86d315f2fb7476ac46418265028778308ba9..00f407a5c5fb15e25eead56bfba7cbbf2ade7d80 100644 (file)
@@ -1042,8 +1042,8 @@ pta_unstroke(const POINTARRAY *points, int srid)
                        else {
                                lw_arc_center((POINT2D*)&first, (POINT2D*)&b, (POINT2D*)&a1, (POINT2D*)&center);
                                angle = lw_arc_angle((POINT2D*)&first, (POINT2D*)&center, (POINT2D*)&b);
-        int p2_side = lw_segment_side((POINT2D*)&first, (POINT2D*)&a1, (POINT2D*)&b);
-        if ( p2_side >= 0 ) angle = -angle;
+                               int p2_side = lw_segment_side((POINT2D*)&first, (POINT2D*)&a1, (POINT2D*)&b);
+                               if ( p2_side >= 0 ) angle = -angle;
 
                                if ( angle < 0 ) angle = 2 * M_PI + angle;
                                num_quadrants = ( 4 * angle ) / ( 2 * M_PI );