[mapserver-commits] r11630 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sat Apr 30 10:19:12 EDT 2011
Author: assefa
Date: 2011-04-30 07:19:12 -0700 (Sat, 30 Apr 2011)
New Revision: 11630
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapprimitive.c
Log:
Fix maxoverlapangle when value is set to 0 (#3856)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-04-28 12:04:30 UTC (rev 11629)
+++ trunk/mapserver/HISTORY.TXT 2011-04-30 14:19:12 UTC (rev 11630)
@@ -15,7 +15,7 @@
Current Version (SVN trunk):
----------------------------
-- ...
+- Fix maxoverlapangle when value is set to 0 (#3856)
Version 6.0.0-rc1 (2011-04-27)
------------------------------
Modified: trunk/mapserver/mapprimitive.c
===================================================================
--- trunk/mapserver/mapprimitive.c 2011-04-28 12:04:30 UTC (rev 11629)
+++ trunk/mapserver/mapprimitive.c 2011-04-30 14:19:12 UTC (rev 11630)
@@ -1881,7 +1881,7 @@
center_label_position = (line_length - text_length) / 2.0;
}
- if(label->maxoverlapangle)
+ if(label->maxoverlapangle >=0)
maxoverlapangle = label->maxoverlapangle/(180/MS_PI); // radian
for (l=0; l < label_repeat; l++)
More information about the mapserver-commits
mailing list