Fixed: Use a string (default was a bool)

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 408dbb64f6
commit f921040f80

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

Loading…
Cancel
Save