aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-06-14 08:58:56 +0000
committerTorbjörn Andersson2003-06-14 08:58:56 +0000
commit54453b64bf83cce0f1753c40045a917f118e00c1 (patch)
treee0609c9410c5290f16e8eaf75792f70a94859972 /scumm
parentc1880ad5224f6d3e0245b5c44ba2128ea816b68d (diff)
downloadscummvm-rg350-54453b64bf83cce0f1753c40045a917f118e00c1.tar.gz
scummvm-rg350-54453b64bf83cce0f1753c40045a917f118e00c1.tar.bz2
scummvm-rg350-54453b64bf83cce0f1753c40045a917f118e00c1.zip
Format string/argument mismatch fix.
svn-id: r8464
Diffstat (limited to 'scumm')
-rw-r--r--scumm/object.cpp2
-rw-r--r--scumm/string.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 6fb5f56172..4bbdf05769 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -895,7 +895,7 @@ const byte *Scumm::getObjOrActorName(int obj) {
if (_version >= 6) {
for (i = 0; i < _numNewNames; i++) {
if (_newNames[i] == obj) {
- debug(5, "Found new name for object %d at _newNames[i]", obj, i);
+ debug(5, "Found new name for object %d at _newNames[%d]", obj, i);
return getResourceAddress(rtObjectName, i);
break;
}
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 1d9f01d3ef..13810ee709 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -274,7 +274,7 @@ void Scumm::CHARSET_1() {
_charset->setColor(color);
break;
case 13:
- warning("CHARSET_1: Unknown opcode 13\n", READ_LE_UINT16(buffer));
+ warning("CHARSET_1: Unknown opcode 13 %d\n", READ_LE_UINT16(buffer));
buffer += 2;
break;
case 14: {