Fixed: Use a string (default was a bool)

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-19 15:46:05 +01:00
parent 408dbb64f6
commit f921040f80

View file

@ -1653,7 +1653,7 @@ bool CFormElm::setValueByName (NLMISC::CRGBA value, const std::string &name, boo
{
char tmp[512];
smprintf (tmp, 512, "%d,%d,%d", value.R, value.G, value.B);
return setValueByName (tmp, name, created);
return setValueByName(std::string(tmp), name, created);
}
// ***************************************************************************