aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-12 08:55:33 +0000
committerMartin Kiewitz2009-10-12 08:55:33 +0000
commitb6be6ae7a946773fd32a5ed8d372294cb72824b4 (patch)
tree19707ed2194d4508cde1e818b2a18966c4445f27
parentebb188c415bac4dfc2bfbcd2b7f7236365e0247d (diff)
downloadscummvm-rg350-b6be6ae7a946773fd32a5ed8d372294cb72824b4.tar.gz
scummvm-rg350-b6be6ae7a946773fd32a5ed8d372294cb72824b4.tar.bz2
scummvm-rg350-b6be6ae7a946773fd32a5ed8d372294cb72824b4.zip
SCI/newgui: typo fixed in SciGuiPicture
svn-id: r44970
-rw-r--r--engines/sci/gui/gui_picture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp
index 6978c4c7c6..fcfb507f30 100644
--- a/engines/sci/gui/gui_picture.cpp
+++ b/engines/sci/gui/gui_picture.cpp
@@ -198,7 +198,7 @@ void SciGuiPicture::drawCelData(byte *inbuffer, int size, int headerPos, int rle
// Set initial vertical coordinate by using current port
y = callerY + _gfx->GetPort()->top;
- lastY = MIN<int16>(height + y, _gfx->GetPort()->rect.bottom) + _gfx->GetPort()->top;
+ lastY = MIN<int16>(height + y, _gfx->GetPort()->rect.bottom + _gfx->GetPort()->top);
if (callerX != 0)
error("drawCelData() called with callerX != 0");