[Scummvm-cvs-logs] SF.net SVN: scummvm:[46024] scummvm/trunk/tools/create_kyradat/pak.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Nov 20 22:25:01 CET 2009


Revision: 46024
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46024&view=rev
Author:   lordhoto
Date:     2009-11-20 21:25:01 +0000 (Fri, 20 Nov 2009)

Log Message:
-----------
Fix missing printf arguments.

Modified Paths:
--------------
    scummvm/trunk/tools/create_kyradat/pak.cpp

Modified: scummvm/trunk/tools/create_kyradat/pak.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/pak.cpp	2009-11-20 21:24:40 UTC (rev 46023)
+++ scummvm/trunk/tools/create_kyradat/pak.cpp	2009-11-20 21:25:01 UTC (rev 46024)
@@ -184,7 +184,7 @@
 
 bool PAKFile::addFile(const char *name, const char *file) {
 	if (_fileList && _fileList->findEntry(name)) {
-		error("entry '%s' already exists");
+		error("entry '%s' already exists", name);
 		return false;
 	}
 
@@ -207,7 +207,7 @@
 
 bool PAKFile::addFile(const char *name, uint8 *data, uint32 size) {
 	if (_fileList && _fileList->findEntry(name)) {
-		error("entry '%s' already exists");
+		error("entry '%s' already exists", name);
 		return false;
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list