[Scummvm-git-logs] scummvm master -> 0ddccddfee5087d789c640c1051d9b7815eb1fab
sev-
noreply at scummvm.org
Sat Nov 16 11:46:41 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0ddccddfee GUI: Fix regression with layout computation
Commit: 0ddccddfee5087d789c640c1051d9b7815eb1fab
https://github.com/scummvm/scummvm/commit/0ddccddfee5087d789c640c1051d9b7815eb1fab
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-11-16T12:46:13+01:00
Commit Message:
GUI: Fix regression with layout computation
Changed paths:
gui/ThemeParser.cpp
diff --git a/gui/ThemeParser.cpp b/gui/ThemeParser.cpp
index 77fb00e621c..97e43b502a9 100644
--- a/gui/ThemeParser.cpp
+++ b/gui/ThemeParser.cpp
@@ -958,7 +958,7 @@ bool ThemeParser::parseCommonLayoutProps(ParserNode *node, const Common::String
if (node->values.contains("size")) {
int width, height;
- if (parseList(node->values["size"], 2, &width, &height)) {
+ if (parseIntegerKey(node->values["size"], 2, &width, &height)) {
width = SCALEVALUE(width);
height = SCALEVALUE(height);
} else {
More information about the Scummvm-git-logs
mailing list