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

Max Horn fingolfin at users.sourceforge.net
Wed Jun 4 16:52:02 CEST 2003


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

Modified Files:
	smush_font.cpp 
Log Message:
some more cleanup

Index: smush_font.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_font.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- smush_font.cpp	4 Jun 2003 23:32:09 -0000	1.6
+++ smush_font.cpp	4 Jun 2003 23:51:25 -0000	1.7
@@ -183,6 +183,8 @@
 	const byte *src = _chars[chr].src;
 	byte *dst = buffer + dst_width * y + x;
 
+	assert(dst_width == g_scumm->_screenWidth);
+
 	if(_original) {
 		for(int j = 0; j < h; j++) {
 			for(int i = 0; i < w; i++) {





More information about the Scummvm-git-logs mailing list