Fixed: Use a string (default was a bool)
--HG-- branch : develop
This commit is contained in:
parent
408dbb64f6
commit
f921040f80
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue