Fix placing 1 character line labels.

This commit is contained in:
Dave 2008-01-28 21:41:53 +00:00
parent 3c5b7f02f3
commit 6b2285f237

View file

@ -681,7 +681,7 @@ namespace mapnik
}
//If we placed too many characters upside down
if (upside_down_char_count >= p.info.num_characters()/2)
if (upside_down_char_count >= p.info.num_characters()/2.0)
{
//if we auto-detected the orientation then retry with the opposite orientation
if (!orientation_forced)