[Scummvm-cvs-logs] SF.net SVN: scummvm:[44706] scummvm/trunk/engines/sci

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Tue Oct 6 19:16:27 CEST 2009


Revision: 44706
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44706&view=rev
Author:   wjpalenstijn
Date:     2009-10-06 17:16:27 +0000 (Tue, 06 Oct 2009)

Log Message:
-----------
SCI: Minor cleanup

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kernel.h
    scummvm/trunk/engines/sci/gui/gui_gfx.cpp

Modified: scummvm/trunk/engines/sci/engine/kernel.h
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.h	2009-10-06 17:13:57 UTC (rev 44705)
+++ scummvm/trunk/engines/sci/engine/kernel.h	2009-10-06 17:16:27 UTC (rev 44706)
@@ -37,8 +37,8 @@
 
 namespace Sci {
 
-struct Node;	// from vm.h
-struct List;	// from vm.h
+struct Node;	// from segment.h
+struct List;	// from segment.h
 
 #define AVOIDPATH_DYNMEM_STRING "AvoidPath polyline"
 //#define DEBUG_PARSER	// enable for parser debugging

Modified: scummvm/trunk/engines/sci/gui/gui_gfx.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_gfx.cpp	2009-10-06 17:13:57 UTC (rev 44705)
+++ scummvm/trunk/engines/sci/gui/gui_gfx.cpp	2009-10-06 17:16:27 UTC (rev 44706)
@@ -172,7 +172,7 @@
 }
 
 void SciGuiGfx::FillRect(const Common::Rect &rect, int16 drawFlags, byte clrPen, byte clrBack, byte bControl) {
-	Common::Rect r(rect.left, rect.top, rect.right, rect.bottom);
+	Common::Rect r = rect;
 	r.clip(_curPort->rect);
 	if (r.isEmpty()) // nothing to fill
 		return;


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