[Scummvm-cvs-logs] SF.net SVN: scummvm:[44497] scummvm/trunk/engines/sci/engine/kfile.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Wed Sep 30 21:44:03 CEST 2009


Revision: 44497
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44497&view=rev
Author:   wjpalenstijn
Date:     2009-09-30 19:44:03 +0000 (Wed, 30 Sep 2009)

Log Message:
-----------
SCI: Make kFile error messages slightly more verbose

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kfile.cpp

Modified: scummvm/trunk/engines/sci/engine/kfile.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kfile.cpp	2009-09-30 19:14:46 UTC (rev 44496)
+++ scummvm/trunk/engines/sci/engine/kfile.cpp	2009-09-30 19:44:03 UTC (rev 44497)
@@ -141,9 +141,9 @@
 		// clone the file for that, etc., see also the long comment at the start
 		// of this file.
 		// We really need some examples on how this is used.
-		error("file_open(_K_FILE_MODE_OPEN_OR_CREATE) File creation currently not supported");
+		error("file_open(_K_FILE_MODE_OPEN_OR_CREATE) File creation currently not supported (filename '%s')", englishName.c_str());
 	} else {
-		error("file_open: unsupported mode %d", mode);
+		error("file_open: unsupported mode %d (filename '%s')", mode, englishName.c_str());
 	}
 
 	if (!inFile && !outFile) { // Failed


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