diff options
Diffstat (limited to '')
-rw-r--r-- | gui/progressbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/progressbar.cpp b/gui/progressbar.cpp index fc2a4976c..c40e63ea2 100644 --- a/gui/progressbar.cpp +++ b/gui/progressbar.cpp @@ -67,7 +67,7 @@ GUIProgressBar::GUIProgressBar(xml_node<>* node) : GUIObject(node) int GUIProgressBar::Render(void) { - if(!isConditionTrue()) + if (!isConditionTrue()) return 0; // This handles making sure timing updates occur @@ -90,7 +90,7 @@ int GUIProgressBar::RenderInternal(void) int GUIProgressBar::Update(void) { - if(!isConditionTrue()) + if (!isConditionTrue()) return 0; std::string str; @@ -165,7 +165,7 @@ int GUIProgressBar::NotifyVarChange(const std::string& varName, const std::strin { GUIObject::NotifyVarChange(varName, value); - if(!isConditionTrue()) + if (!isConditionTrue()) return 0; static int nextPush = 0; |