[mapserver-commits] r9801 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Feb 18 01:16:03 EST 2010


Author: sdlime
Date: 2010-02-18 01:16:03 -0500 (Thu, 18 Feb 2010)
New Revision: 9801

Modified:
   trunk/mapserver/mapproject.c
Log:
Changed a couple of MIN/MAX macro calls to use MS_MIN/MS_MAX instead.

Modified: trunk/mapserver/mapproject.c
===================================================================
--- trunk/mapserver/mapproject.c	2010-02-18 05:21:47 UTC (rev 9800)
+++ trunk/mapserver/mapproject.c	2010-02-18 06:16:03 UTC (rev 9801)
@@ -833,10 +833,10 @@
   
   for( ix = 1; ix < ring.numpoints; ix++ )
   {
-      rect->minx = MIN(rect->minx,ringPoints[ix].x);
-      rect->maxx = MAX(rect->maxx,ringPoints[ix].x);
-      rect->miny = MIN(rect->miny,ringPoints[ix].y);
-      rect->maxy = MAX(rect->maxy,ringPoints[ix].y);
+      rect->minx = MS_MIN(rect->minx,ringPoints[ix].x);
+      rect->maxx = MS_MAX(rect->maxx,ringPoints[ix].x);
+      rect->miny = MS_MIN(rect->miny,ringPoints[ix].y);
+      rect->maxy = MS_MAX(rect->maxy,ringPoints[ix].y);
   }
 
   msFreeShape( &polygonObj );



More information about the mapserver-commits mailing list