[Scummvm-cvs-logs] SF.net SVN: scummvm:[44610] scummvm/trunk/engines/sci/gui/gui_windowmgr.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sun Oct 4 17:20:46 CEST 2009
Revision: 44610
http://scummvm.svn.sourceforge.net/scummvm/?rev=44610&view=rev
Author: m_kiewitz
Date: 2009-10-04 15:20:43 +0000 (Sun, 04 Oct 2009)
Log Message:
-----------
SCI/newgui: UpdateWindow() -> rect1 instead of rect0 typo
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui_windowmgr.cpp
Modified: scummvm/trunk/engines/sci/gui/gui_windowmgr.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_windowmgr.cpp 2009-10-04 15:14:28 UTC (rev 44609)
+++ scummvm/trunk/engines/sci/gui/gui_windowmgr.cpp 2009-10-04 15:20:43 UTC (rev 44610)
@@ -244,7 +244,7 @@
_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 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list