[Scummvm-cvs-logs] SF.net SVN: scummvm: [26640] scummvm/trunk/engines/cruise/function.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Apr 28 08:57:33 CEST 2007


Revision: 26640
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26640&view=rev
Author:   sev
Date:     2007-04-27 23:57:32 -0700 (Fri, 27 Apr 2007)

Log Message:
-----------
Ahem. Fixing code formatting.

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/function.cpp

Modified: scummvm/trunk/engines/cruise/function.cpp
===================================================================
--- scummvm/trunk/engines/cruise/function.cpp	2007-04-28 04:29:05 UTC (rev 26639)
+++ scummvm/trunk/engines/cruise/function.cpp	2007-04-28 06:57:32 UTC (rev 26640)
@@ -953,8 +953,7 @@
 
 #define convertRatio 36.571428571428571428571428571429
 
-	for(i=startIdx; i<=endIdx; i++)
-	{
+	for(i=startIdx; i<=endIdx; i++) {
 		R = (int)(colorR*convertRatio);
 		G = (int)(colorG*convertRatio);
 		B = (int)(colorB*convertRatio);
@@ -972,9 +971,7 @@
 			lpalette[colorIdx].R = R;
 			lpalette[colorIdx].G = G;
 			lpalette[colorIdx].B = B;
-		}
-		else
-		{
+		} else {
 			lpalette[i].R = R;
 			lpalette[i].G = G;
 			lpalette[i].B = B;


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