[mapserver-commits] r10788 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Dec 8 16:10:41 EST 2010
Author: tamas
Date: 2010-12-08 13:10:41 -0800 (Wed, 08 Dec 2010)
New Revision: 10788
Modified:
trunk/mapserver/mapprimitive.c
Log:
Fix for the build issue with MSVC
Modified: trunk/mapserver/mapprimitive.c
===================================================================
--- trunk/mapserver/mapprimitive.c 2010-12-08 17:49:48 UTC (rev 10787)
+++ trunk/mapserver/mapprimitive.c 2010-12-08 21:10:41 UTC (rev 10788)
@@ -820,9 +820,10 @@
{
int i,j,k,beforelast; /* loop counters */
double dx,dy;
+ pointObj *point;
double inv_cs = 1.0 / cellsize; /* invert and multiply much faster */
if(shape->numlines == 0) return; /* nothing to transform */
- pointObj *point;
+
if(shape->type == MS_SHAPE_LINE) {
/*
* loop through the shape's lines, and do naive simplification
More information about the mapserver-commits
mailing list