Fixed: Use a string (default was a bool)

This commit is contained in:
kervala 2016-12-19 15:46:05 +01:00
parent 4123e6149e
commit 34520c8f29

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);
}
// ***************************************************************************