[mapserver-commits] r9442 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Oct 12 03:43:19 EDT 2009
Author: tbonfort
Date: 2009-10-12 03:43:19 -0400 (Mon, 12 Oct 2009)
New Revision: 9442
Modified:
trunk/mapserver/mapdraw.c
Log:
scalefactor may not be initialized yet
Modified: trunk/mapserver/mapdraw.c
===================================================================
--- trunk/mapserver/mapdraw.c 2009-10-12 04:59:46 UTC (rev 9441)
+++ trunk/mapserver/mapdraw.c 2009-10-12 07:43:19 UTC (rev 9442)
@@ -280,7 +280,7 @@
else if(GET_LAYER(map, i)->symbolscaledenom > 0 && map->scaledenom > 0)
GET_LAYER(map, i)->scalefactor = GET_LAYER(map, i)->symbolscaledenom/map->scaledenom;
else
- GET_LAYER(map, i)->scalefactor *= map->resolution/map->defresolution;
+ GET_LAYER(map, i)->scalefactor = map->resolution/map->defresolution;
}
return image;
More information about the mapserver-commits
mailing list