[Scummvm-cvs-logs] CVS: scummvm/scumm/smush smush_font.cpp,1.28,1.29

Max Horn fingolfin at users.sourceforge.net
Sun May 15 03:41:07 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13830/scumm/smush

Modified Files:
	smush_font.cpp 
Log Message:
Replaced global revBitMask array with a macro

Index: smush_font.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_font.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- smush_font.cpp	8 May 2005 21:49:47 -0000	1.28
+++ smush_font.cpp	15 May 2005 10:40:28 -0000	1.29
@@ -138,7 +138,7 @@
 		for (int i = 0; i < w; i++) {
 			if ((i % 8) == 0)
 				bits = *src++;
-			if (bits & revBitMask[i % 8]) {
+			if (bits & revBitMask(i % 8)) {
 				dst[i + 1] = 0;
 				dst[dst_width + i] = 0;
 				dst[dst_width + i + 1] = 0;





More information about the Scummvm-git-logs mailing list