More misc. typos
This commit is contained in:
@@ -411,7 +411,7 @@ void ParameterGrp::SetBool(const char* Name, bool bValue)
|
||||
{
|
||||
// find or create the Element
|
||||
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCBool",Name);
|
||||
// and set the vaue
|
||||
// and set the value
|
||||
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(bValue?"1":"0").unicodeForm());
|
||||
// trigger observer
|
||||
Notify(Name);
|
||||
@@ -476,7 +476,7 @@ void ParameterGrp::SetInt(const char* Name, long lValue)
|
||||
char cBuf[256];
|
||||
// find or create the Element
|
||||
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCInt",Name);
|
||||
// and set the vaue
|
||||
// and set the value
|
||||
sprintf(cBuf,"%li",lValue);
|
||||
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(cBuf).unicodeForm());
|
||||
// trigger observer
|
||||
@@ -537,7 +537,7 @@ void ParameterGrp::SetUnsigned(const char* Name, unsigned long lValue)
|
||||
char cBuf[256];
|
||||
// find or create the Element
|
||||
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCUInt",Name);
|
||||
// and set the vaue
|
||||
// and set the value
|
||||
sprintf(cBuf,"%lu",lValue);
|
||||
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(cBuf).unicodeForm());
|
||||
// trigger observer
|
||||
|
||||
Reference in New Issue
Block a user