mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 07:58:44 +00:00
Fixed: Use a string (default was a bool)
This commit is contained in:
parent
4123e6149e
commit
34520c8f29
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];
|
||||
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