[mapserver-commits] r8965 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sat Apr 25 13:01:30 EDT 2009
Author: tbonfort
Date: 2009-04-25 13:01:29 -0400 (Sat, 25 Apr 2009)
New Revision: 8965
Modified:
trunk/mapserver/mapagg.cpp
Log:
fix infinite loop caused by rfc 55
Modified: trunk/mapserver/mapagg.cpp
===================================================================
--- trunk/mapserver/mapagg.cpp 2009-04-25 10:23:40 UTC (rev 8964)
+++ trunk/mapserver/mapagg.cpp 2009-04-25 17:01:29 UTC (rev 8965)
@@ -1594,7 +1594,7 @@
{
for (i=0; i<symbol->patternlength; i++)
{
- symbol_pattern[i] = symbol->pattern[i]*scalefactor;
+ symbol_pattern[i] = MS_MAX(symbol->pattern[i]*scalefactor,1);
}
}
More information about the mapserver-commits
mailing list