fixed color's to_string method since alpha seems to no longer be parsed as a double. serializing a color to xml and deserializing it back did not work before

This commit is contained in:
Alberto Valverde 2010-03-19 11:20:00 +00:00
parent aea5dd563a
commit 2d601f1bd7

View File

@ -50,7 +50,7 @@ namespace mapnik {
<< red() << ","
<< green() << ","
<< blue() << ","
<< alpha()/255.0 << ")";
<< alpha() << ")";
}
return ss.str();
}