diff options
Diffstat (limited to 'gui/object.cpp')
-rw-r--r-- | gui/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/object.cpp b/gui/object.cpp index 543452caf..d496414c3 100644 --- a/gui/object.cpp +++ b/gui/object.cpp @@ -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)) { |