[mapserver-commits] r8621 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Feb 26 07:55:06 EST 2009
Author: assefa
Date: 2009-02-26 07:55:04 -0500 (Thu, 26 Feb 2009)
New Revision: 8621
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/maputil.c
Log:
Fix build on windows
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2009-02-26 05:34:18 UTC (rev 8620)
+++ trunk/mapserver/HISTORY.TXT 2009-02-26 12:55:04 UTC (rev 8621)
@@ -12,6 +12,8 @@
Current Version (SVN trunk):
----------------------------
+- Fix build on windows (maputil.c)
+
Version 5.4.0-beta2 (2009-2-25):
--------------------------------
Modified: trunk/mapserver/maputil.c
===================================================================
--- trunk/mapserver/maputil.c 2009-02-26 05:34:18 UTC (rev 8620)
+++ trunk/mapserver/maputil.c 2009-02-26 12:55:04 UTC (rev 8621)
@@ -1572,11 +1572,11 @@
if(offsety == -99) { /* complex calculations */
for (i = 0; i < p->numlines; i++) {
+ pointObj old_pt, old_diffdir, old_offdir;
idx=0;
first = 1;
/* saved metrics of the last processed point */
- pointObj old_pt, old_diffdir, old_offdir;
if (p->line[i].numpoints>0)
old_pt=p->line[i].point[0];
for(j=1; j<p->line[i].numpoints; j++) {
More information about the mapserver-commits
mailing list