aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index 164aa18016..0c330d3ed7 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -175,7 +175,7 @@ void FileManager::readImage(int objNum, object_t *objPtr) {
if (!_objectsArchive.open(buf)) {
buf = Common::String(_vm->_text->getNoun(objPtr->nounIndex, 0)) + Common::String(".PIX");
if (!_objectsArchive.open(buf))
- error("File not found: %s", buf);
+ error("File not found: %s", buf.c_str());
}
}