[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.244,2.245

Max Horn fingolfin at users.sourceforge.net
Sun Jan 4 04:37:58 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv20534

Modified Files:
	gfx.cpp 
Log Message:
uhm? I don't see why VC 2003 would complain about this, but not about the many equal instances of this code (which, BTW, is perfectly valid C...)

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.244
retrieving revision 2.245
diff -u -d -r2.244 -r2.245
--- gfx.cpp	4 Jan 2004 01:20:26 -0000	2.244
+++ gfx.cpp	4 Jan 2004 12:35:51 -0000	2.245
@@ -1771,7 +1771,7 @@
 				cl -= 3;
 				bits >>= 3;
 				if (incm) {
-					color = (byte)((color + incm) & 0xFF);
+					color += incm;
 				} else {
 					FILL_BITS;
 					reps = bits & 0xFF;





More information about the Scummvm-git-logs mailing list