[Scummvm-cvs-logs] SF.net SVN: scummvm:[44970] scummvm/trunk/engines/sci/gui/gui_picture.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Oct 12 10:55:34 CEST 2009


Revision: 44970
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44970&view=rev
Author:   m_kiewitz
Date:     2009-10-12 08:55:33 +0000 (Mon, 12 Oct 2009)

Log Message:
-----------
SCI/newgui: typo fixed in SciGuiPicture

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui_picture.cpp

Modified: scummvm/trunk/engines/sci/gui/gui_picture.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_picture.cpp	2009-10-12 08:25:38 UTC (rev 44969)
+++ scummvm/trunk/engines/sci/gui/gui_picture.cpp	2009-10-12 08:55:33 UTC (rev 44970)
@@ -198,7 +198,7 @@
 
 	// 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");
 


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