aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resource.cpp b/resource.cpp
index da59b330d6..d053f34464 100644
--- a/resource.cpp
+++ b/resource.cpp
@@ -590,7 +590,7 @@ byte *Scumm::createResource(int type, int index, uint32 size) {
void Scumm::validateResource(const char *str, int type, int index) {
if (type<rtFirst || type>rtLast || (uint)index >= (uint)res.num[type]) {
- error("%d Illegal Glob type %d num %d", str, type, index);
+ error("%s Illegal Glob type %d num %d", str, type, index);
}
}