[Scummvm-git-logs] scummvm master -> 1dc24d06fd1fbd5cadb07cbee988240829f27c7f
digitall
547637+digitall at users.noreply.github.com
Wed Jan 8 19:19:54 UTC 2020
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:
1dc24d06fd GUI: Fix Missing Default Switch Cases in Theme Layout Class
Commit: 1dc24d06fd1fbd5cadb07cbee988240829f27c7f
https://github.com/scummvm/scummvm/commit/1dc24d06fd1fbd5cadb07cbee988240829f27c7f
Author: D G Turner (digitall at scummvm.org)
Date: 2020-01-08T19:16:21Z
Commit Message:
GUI: Fix Missing Default Switch Cases in Theme Layout Class
Changed paths:
gui/ThemeLayout.cpp
diff --git a/gui/ThemeLayout.cpp b/gui/ThemeLayout.cpp
index 10347f0..618ecdc 100644
--- a/gui/ThemeLayout.cpp
+++ b/gui/ThemeLayout.cpp
@@ -298,6 +298,7 @@ void ThemeLayoutStacked::reflowLayoutVertical(Widget *widgetChain) {
for (uint i = 0; i < _children.size(); ++i) {
switch (_itemAlign) {
case kItemAlignStart:
+ default:
_children[i]->offsetX(_padding.left);
break;
case kItemAlignCenter:
@@ -385,6 +386,7 @@ void ThemeLayoutStacked::reflowLayoutHorizontal(Widget *widgetChain) {
for (uint i = 0; i < _children.size(); ++i) {
switch (_itemAlign) {
case kItemAlignStart:
+ default:
_children[i]->offsetY(_padding.top);
break;
case kItemAlignCenter:
More information about the Scummvm-git-logs
mailing list