diff options
Diffstat (limited to 'gui/theme-config.cpp')
-rw-r--r-- | gui/theme-config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp index e8adf7c327..e6d8026edb 100644 --- a/gui/theme-config.cpp +++ b/gui/theme-config.cpp @@ -583,9 +583,9 @@ void Theme::processSingleLine(const String §ion, const String &prefix, const // If we have all 4 parameters, set .x2 and .y2 if (npostfix == 3) { - _evaluator->setVar(prefixedname + ".x2", + _evaluator->setVar(prefixedname + ".x2", _evaluator->getVar(prefixedname + ".x") + _evaluator->getVar(prefixedname + ".w")); - _evaluator->setVar(prefixedname + ".y2", + _evaluator->setVar(prefixedname + ".y2", _evaluator->getVar(prefixedname + ".y") + _evaluator->getVar(prefixedname + ".h")); } @@ -733,7 +733,7 @@ bool Theme::sectionIsSkipped(Common::ConfigFile &config, const char *name, int w default: break; } - + ptr++; } |