[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.104,1.105
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Sep 12 11:22:41 CEST 2004
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1415/queen
Modified Files:
talk.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: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- talk.cpp 24 Aug 2004 16:31:45 -0000 1.104
+++ talk.cpp 12 Sep 2004 18:21:20 -0000 1.105
@@ -1078,7 +1078,7 @@
++offset;
if (length > maxLength) {
- error("String too long. Length = %i, maxLength = %i", length, maxLength, length);
+ error("String too long. Length = %i, maxLength = %i", length, maxLength);
} else if (length) {
if (str) {
memcpy(str, ptr + offset, length);
More information about the Scummvm-git-logs
mailing list