[Scummvm-cvs-logs] SF.net SVN: scummvm:[45787] scummvm/trunk/engines/tinsel/dialogs.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Nov 9 23:21:23 CET 2009


Revision: 45787
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45787&view=rev
Author:   fingolfin
Date:     2009-11-09 22:21:23 +0000 (Mon, 09 Nov 2009)

Log Message:
-----------
TINSEL: cleanup

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/dialogs.cpp

Modified: scummvm/trunk/engines/tinsel/dialogs.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/dialogs.cpp	2009-11-09 22:20:59 UTC (rev 45786)
+++ scummvm/trunk/engines/tinsel/dialogs.cpp	2009-11-09 22:21:23 UTC (rev 45787)
@@ -2213,7 +2213,7 @@
 
 	// Slider on extra window
 	if (cd.bExtraWin) {
-		const Common::Rect &r = TinselV2 ?
+		const Common::Rect r = TinselV2 ?
 			Common::Rect(411, 46, 425, 339) :
 			Common::Rect(20 + 181, 24 + 2, 20 + 181 + 8, 24 + 139 + 5);
 
@@ -5394,7 +5394,7 @@
 			// Only act if load or save screen
 			MenuPageDown();
 		} else {
-			// This code is a copy of SLClick on IB_SLIDE_DOWN
+			// This code is a copy of the IB_SLIDE_DOWN case in InvWalkTo
 			// TODO: So share this duplicate code
 			if (InvD[ino].NoofVicons == 1)
 				if (InvD[ino].FirstDisp + InvD[ino].NoofHicons*InvD[ino].NoofVicons < InvD[ino].NoofItems)
@@ -5412,7 +5412,7 @@
 			// Only act if load or save screen
 			MenuPageUp();
 		} else {
-			// This code is a copy of SLClick on I_SLIDE_UP
+			// This code is a copy of the I_SLIDE_UP case in InvWalkTo
 			// TODO: So share this duplicate code
 			if (InvD[ino].NoofVicons == 1)
 				InvD[ino].FirstDisp -= InvD[ino].NoofHicons;


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