[mapserver-commits] r12732 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Nov 1 09:57:20 EDT 2011
Author: tbonfort
Date: 2011-11-01 06:57:20 -0700 (Tue, 01 Nov 2011)
New Revision: 12732
Modified:
trunk/mapserver/mapagg.cpp
Log:
fix typo that prevented initialgap from working correctly with multiple dash patterns (#4068)
Modified: trunk/mapserver/mapagg.cpp
===================================================================
--- trunk/mapserver/mapagg.cpp 2011-11-01 11:02:36 UTC (rev 12731)
+++ trunk/mapserver/mapagg.cpp 2011-11-01 13:57:20 UTC (rev 12732)
@@ -212,7 +212,7 @@
dash.add_dash(MS_MAX(1,MS_NINT(style->pattern[i])),
MS_MAX(1,MS_NINT(style->pattern[i + 1])));
if(style->patternoffset) {
- patt_length = MS_MAX(1,MS_NINT(style->pattern[i])) +
+ patt_length += MS_MAX(1,MS_NINT(style->pattern[i])) +
MS_MAX(1,MS_NINT(style->pattern[i + 1]));
}
}
More information about the mapserver-commits
mailing list