From b6be6ae7a946773fd32a5ed8d372294cb72824b4 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 12 Oct 2009 08:55:33 +0000 Subject: SCI/newgui: typo fixed in SciGuiPicture svn-id: r44970 --- engines/sci/gui/gui_picture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(height + y, _gfx->GetPort()->rect.bottom) + _gfx->GetPort()->top; + lastY = MIN(height + y, _gfx->GetPort()->rect.bottom + _gfx->GetPort()->top); if (callerX != 0) error("drawCelData() called with callerX != 0"); -- cgit v1.2.3