diff options
author | Torbjörn Andersson | 2004-09-12 18:21:21 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-09-12 18:21:21 +0000 |
commit | dc461ca770c763aae6888269ce115d4890f95bc6 (patch) | |
tree | 13f6431ded773e184e8bec734b2234dd1ad425ab /queen/talk.cpp | |
parent | 7688c017e162fc0808891eee22e074b69d651abf (diff) | |
download | scummvm-rg350-dc461ca770c763aae6888269ce115d4890f95bc6.tar.gz scummvm-rg350-dc461ca770c763aae6888269ce115d4890f95bc6.tar.bz2 scummvm-rg350-dc461ca770c763aae6888269ce115d4890f95bc6.zip |
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.
svn-id: r15081
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 2a40794d5d..c8dc02a535 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -1078,7 +1078,7 @@ void Talk::getString(const byte *ptr, uint16 &offset, char *str, int maxLength, ++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); |