From 0999534749f6c4edb9e4d054b95f185b829adba3 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 31 May 2009 10:02:16 +0000 Subject: The error() and warning() functions add ! and newline automatically. (I didn't look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061 --- engines/sci/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/resource.cpp') diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 698ae2640f..989ac43c2d 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -264,7 +264,7 @@ void ResourceManager::loadResource(Resource *res) { file->seek(res->file_offset, SEEK_SET); int error = decompress(res, file); if (error) { - warning("Error %d occured while reading %s.%03d from resource file: %s\n", + warning("Error %d occured while reading %s.%03d from resource file: %s", error, getResourceTypeName(res->type), res->number, sci_error_types[error]); res->unalloc(); } -- cgit v1.2.3