diff --git a/gui/about.cpp b/gui/about.cpp index 009dcd5702c..0f2ea51f64c 100644 --- a/gui/about.cpp +++ b/gui/about.cpp @@ -456,6 +456,15 @@ bool EEHandler::handleKeyDown(Common::KeyState &state) { EE::EE() { init(); + + _scale = 1.0; + _windowW = 320; + _windowH = 200; + _windowX = _windowY = 0; + + _format = g_system->getOverlayFormat(); + + _colorBlack = _colorBlue = _colorOrange = _colorKey = 0; } EE::~EE() { diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp index 65523d75fad..e0c9820fddf 100644 --- a/gui/widgets/list.cpp +++ b/gui/widgets/list.cpp @@ -73,6 +73,7 @@ ListWidget::ListWidget(Dialog *boss, int x, int y, int w, int h, const U32String : EditableWidget(boss, x, y, w, h, tooltip), _cmd(cmd) { _entriesPerPage = 0; + _scrollBarWidth = 0; _scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth, 0, _scrollBarWidth, _h); _scrollBar->setTarget(this);