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

Max Horn fingolfin at users.sourceforge.net
Sat Jun 25 12:35:00 CEST 2005


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

Modified Files:
	smush_font.cpp 
Log Message:
cleanup

Index: smush_font.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_font.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- smush_font.cpp	24 Jun 2005 15:23:27 -0000	1.30
+++ smush_font.cpp	25 Jun 2005 19:34:16 -0000	1.31
@@ -80,8 +80,9 @@
 	if (_original) {
 		for (int j = 0; j < h; j++) {
 			for (int i = 0; i < w; i++) {
-				char value = *src++;
-				if (value) dst[i] = value;
+				int8 value = *src++;
+				if (value)
+					dst[i] = value;
 			}
 			dst += dst_width;
 		}
@@ -104,7 +105,7 @@
 		} else {
 			for (int j = 0; j < h; j++) {
 				for (int i = 0; i < w; i++) {
-					char value = *src++;
+					int8 value = *src++;
 					if (value == 1) {
 						dst[i] = color;
 					} else if (value) {





More information about the Scummvm-git-logs mailing list