Whitespace and minor code cleanup
This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
This commit is contained in:
+2
-2
@@ -56,7 +56,7 @@ GUIObject::GUIObject(xml_node<>* node)
|
||||
|
||||
attr = condition->first_attribute("var2");
|
||||
if (attr) cond.mVar2 = attr->value();
|
||||
|
||||
|
||||
mConditions.push_back(cond);
|
||||
|
||||
condition = condition->next_sibling("condition");
|
||||
@@ -166,7 +166,7 @@ int GUIObject::NotifyVarChange(const std::string& varName, const std::string& va
|
||||
if(varNameEmpty && iter->mCompareOp == "modified")
|
||||
{
|
||||
string val;
|
||||
|
||||
|
||||
// If this fails, val will not be set, which is perfect
|
||||
if (DataManager::GetValue(iter->mVar1, val))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user