aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-02 13:26:48 +0200
committerEugene Sandulenko2016-05-02 15:19:07 +0200
commitbf06b3bc18bbcefd3574f7485f48e256ee498ff5 (patch)
treeb5ed8d4481cec174bdc3b45dbbd2e64d451254e1 /gui/widgets
parent7ffa209a79e6158e5e97aca93b4c961b739e8ec1 (diff)
downloadscummvm-rg350-bf06b3bc18bbcefd3574f7485f48e256ee498ff5.tar.gz
scummvm-rg350-bf06b3bc18bbcefd3574f7485f48e256ee498ff5.tar.bz2
scummvm-rg350-bf06b3bc18bbcefd3574f7485f48e256ee498ff5.zip
GUI: Initialize widget padding
Diffstat (limited to 'gui/widgets')
-rw-r--r--gui/widgets/popup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/widgets/popup.cpp b/gui/widgets/popup.cpp
index b10b4fb5fe..0b2ea9fd4e 100644
--- a/gui/widgets/popup.cpp
+++ b/gui/widgets/popup.cpp
@@ -388,6 +388,8 @@ PopUpWidget::PopUpWidget(GuiObject *boss, int x, int y, int w, int h, const char
_type = kPopUpWidget;
_selectedItem = -1;
+
+ _leftPadding = _rightPadding = 0;
}
void PopUpWidget::handleMouseDown(int x, int y, int button, int clickCount) {