[Scummvm-cvs-logs] SF.net SVN: scummvm:[54419] scummvm/trunk/engines/mohawk/graphics.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Mon Nov 22 19:09:31 CET 2010
Revision: 54419
http://scummvm.svn.sourceforge.net/scummvm/?rev=54419&view=rev
Author: mthreepwood
Date: 2010-11-22 18:09:31 +0000 (Mon, 22 Nov 2010)
Log Message:
-----------
MOHAWK: Fix a typo fail (thanks, fuzzie)
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/graphics.cpp
Modified: scummvm/trunk/engines/mohawk/graphics.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/graphics.cpp 2010-11-22 18:07:33 UTC (rev 54418)
+++ scummvm/trunk/engines/mohawk/graphics.cpp 2010-11-22 18:09:31 UTC (rev 54419)
@@ -800,12 +800,12 @@
return surface;
}
-void LBGraphics::copyImageToScreen(uint16 image, uint16 left, uint16 right) {
+void LBGraphics::copyImageToScreen(uint16 image, uint16 left, uint16 top) {
Graphics::Surface *surface = findImage(image);
uint16 width = MIN<int>(surface->w, _vm->_system->getWidth());
uint16 height = MIN<int>(surface->h, _vm->_system->getHeight());
- _vm->_system->copyRectToScreen((byte *)surface->pixels, surface->pitch, left, right, width, height);
+ _vm->_system->copyRectToScreen((byte *)surface->pixels, surface->pitch, left, top, width, height);
// FIXME: Remove this and update only when necessary
_vm->_system->updateScreen();
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