[Scummvm-cvs-logs] CVS: scummvm/scumm resource_v7he.cpp,1.7,1.8

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun Sep 12 11:22:42 CEST 2004


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

Modified Files:
	resource_v7he.cpp 
Log Message:
Fixed some other cases where the number of parameters to our message-
printing functions didn't agree with the format strings.

GCC will find a couple of other things to warn about if these functions
are labelled as printf()-style functions, but those were less important, I
think.


Index: resource_v7he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource_v7he.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- resource_v7he.cpp	22 Aug 2004 23:37:59 -0000	1.7
+++ resource_v7he.cpp	12 Sep 2004 18:21:20 -0000	1.8
@@ -296,7 +296,7 @@
 		    }
 		    if ((uint32)iconsize != icondir->entries[c].bytes_in_res) {
 				debugC(DEBUG_RESOURCE, "%s: mismatch of size in icon resource `%s' and group (%d != %d)", 
-					fi->file->name(), name, iconsize, 1, icondir->entries[c].bytes_in_res);
+					fi->file->name(), name, iconsize, icondir->entries[c].bytes_in_res);
 		    }
 		    size += iconsize; /* size += icondir->entries[c].bytes_in_res; */
 





More information about the Scummvm-git-logs mailing list