aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-02 22:00:29 +0000
committerMartin Kiewitz2009-12-02 22:00:29 +0000
commit568f674c809c8c897e183bd4e57888f79a4b051f (patch)
tree5778a53f34c05e2761c4885294da3f567da69296
parentafee877c46b1a4fb9e88934862be383e23c61bc8 (diff)
downloadscummvm-rg350-568f674c809c8c897e183bd4e57888f79a4b051f.tar.gz
scummvm-rg350-568f674c809c8c897e183bd4e57888f79a4b051f.tar.bz2
scummvm-rg350-568f674c809c8c897e183bd4e57888f79a4b051f.zip
SCI: WindowMgr init correction
svn-id: r46242
-rw-r--r--engines/sci/gui/gui_windowmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_windowmgr.cpp b/engines/sci/gui/gui_windowmgr.cpp
index b957abde14..44736b8d74 100644
--- a/engines/sci/gui/gui_windowmgr.cpp
+++ b/engines/sci/gui/gui_windowmgr.cpp
@@ -74,7 +74,7 @@ void SciGuiWindowMgr::init(Common::String gameName) {
_wmgrPort->curLeft = 0;
_windowList.push_front(_wmgrPort);
- _picWind = NewWindow(Common::Rect(0, offTop, _screen->_width, _screen->_height), 0, 0, SCI_WINDOWMGR_STYLE_TRANSPARENT | SCI_WINDOWMGR_STYLE_NOFRAME, 0, true);
+ _picWind = NewWindow(Common::Rect(0, offTop, _screen->_width, _screen->_height - offTop), 0, 0, SCI_WINDOWMGR_STYLE_TRANSPARENT | SCI_WINDOWMGR_STYLE_NOFRAME, 0, true);
}
int16 SciGuiWindowMgr::isFrontWindow(GuiWindow *pWnd) {