From fb1c4ffaafae4843c7edb302351b7df48e02a990 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Wed, 16 Apr 2014 13:43:36 -0500 Subject: Whitespace and minor code cleanup This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e --- gui/object.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/object.cpp') 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)) { -- cgit v1.2.3