aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-04-21 16:49:27 +0300
committerEugene Sandulenko2013-04-21 16:49:48 +0300
commitd878779453ec416e867805ff119bb16c1fd3c1ac (patch)
treea55fa4dcf007f49b4f5770181f17b744e588579f
parentb91da80756f4b1baf68f0b551d25e9a54ca2a77d (diff)
downloadscummvm-rg350-d878779453ec416e867805ff119bb16c1fd3c1ac.tar.gz
scummvm-rg350-d878779453ec416e867805ff119bb16c1fd3c1ac.tar.bz2
scummvm-rg350-d878779453ec416e867805ff119bb16c1fd3c1ac.zip
GUI: Fix previous commit
-rw-r--r--gui/ThemeParser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/ThemeParser.cpp b/gui/ThemeParser.cpp
index 418ec2c283..9b452607df 100644
--- a/gui/ThemeParser.cpp
+++ b/gui/ThemeParser.cpp
@@ -691,8 +691,7 @@ bool ThemeParser::parserCallback_layout(ParserNode *node) {
return false;
}
- if (!Common::parseBool(node->values["center"], center))
- return false;
+ (void)Common::parseBool(node->values["center"], center);
if (node->values["type"] == "vertical")
_theme->getEvaluator()->addLayout(GUI::ThemeLayout::kLayoutVertical, spacing, center);