diff options
author | Martin Kiewitz | 2009-10-04 15:20:43 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-04 15:20:43 +0000 |
commit | 1572e622a350792df2e07969749a68a5c6344200 (patch) | |
tree | 7f0e0f9c5502b5aedc329455e579768d2914dd82 /engines/sci/gui/gui_windowmgr.cpp | |
parent | b05493af048956fb6c7b2cd21f5e98a6dba84c96 (diff) | |
download | scummvm-rg350-1572e622a350792df2e07969749a68a5c6344200.tar.gz scummvm-rg350-1572e622a350792df2e07969749a68a5c6344200.tar.bz2 scummvm-rg350-1572e622a350792df2e07969749a68a5c6344200.zip |
SCI/newgui: UpdateWindow() -> rect1 instead of rect0 typo
svn-id: r44610
Diffstat (limited to 'engines/sci/gui/gui_windowmgr.cpp')
-rw-r--r-- | engines/sci/gui/gui_windowmgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/gui/gui_windowmgr.cpp b/engines/sci/gui/gui_windowmgr.cpp index 3614ba3a51..1561bf3a34 100644 --- a/engines/sci/gui/gui_windowmgr.cpp +++ b/engines/sci/gui/gui_windowmgr.cpp @@ -244,7 +244,7 @@ void SciGUIwindowMgr::DisposeWindow(sciWnd *pWnd, int16 arg2) { _gfx->RestoreBits(pWnd->hSaved1); _gfx->RestoreBits(pWnd->hSaved2); if (arg2) - _gfx->ShowBits(pWnd->rect0, 1); + _gfx->ShowBits(pWnd->rect1, 1); // else // g_sci->ReAnimate(&pwnd->rect0); HEAPHANDLE hh = ptr2heap((byte *)pWnd); @@ -259,11 +259,11 @@ void SciGUIwindowMgr::UpdateWindow(sciWnd *wnd) { sciMemoryHandle handle; if (wnd->uSaveFlag && wnd->bDrawed) { - handle = _gfx->SaveBits(wnd->rect0, 1); + handle = _gfx->SaveBits(wnd->rect1, 1); _gfx->RestoreBits(wnd->hSaved1); wnd->hSaved1 = handle; if (wnd->uSaveFlag & 2) { - handle = _gfx->SaveBits(wnd->rect0, 2); + handle = _gfx->SaveBits(wnd->rect1, 2); _gfx->RestoreBits(wnd->hSaved2); wnd->hSaved2 = handle; } |