[mapserver-commits] r8983 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri May 1 02:55:04 EDT 2009
Author: tbonfort
Date: 2009-05-01 02:55:04 -0400 (Fri, 01 May 2009)
New Revision: 8983
Modified:
trunk/mapserver/maputil.c
Log:
fix normal offset computation (not used yet)
Modified: trunk/mapserver/maputil.c
===================================================================
--- trunk/mapserver/maputil.c 2009-05-01 06:48:01 UTC (rev 8982)
+++ trunk/mapserver/maputil.c 2009-05-01 06:55:04 UTC (rev 8983)
@@ -1625,9 +1625,9 @@
}
} else { /* normal offset (eg. drop shadow) */
for (i = 0; i < p->numlines; i++) {
- for(j=1; j<p->line[i].numpoints; j++) {
- ret->line[i].point[j-1].x=p->line[i].point[j-1].x+offsetx;
- ret->line[i].point[j-1].y=p->line[i].point[j-1].y+offsety;
+ for(j=0; j<p->line[i].numpoints; j++) {
+ ret->line[i].point[j].x=p->line[i].point[j].x+offsetx;
+ ret->line[i].point[j].y=p->line[i].point[j].y+offsety;
}
}
}
More information about the mapserver-commits
mailing list