[Scummvm-cvs-logs] SF.net SVN: scummvm:[41554] tools/branches/gsoc2009-gui/extract_gob_stk.cpp

Remere at users.sourceforge.net Remere at users.sourceforge.net
Mon Jun 15 19:30:11 CEST 2009


Revision: 41554
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41554&view=rev
Author:   Remere
Date:     2009-06-15 17:30:11 +0000 (Mon, 15 Jun 2009)

Log Message:
-----------
*Fixed extract_gob_stk error messages being inaccurate.

Modified Paths:
--------------
    tools/branches/gsoc2009-gui/extract_gob_stk.cpp

Modified: tools/branches/gsoc2009-gui/extract_gob_stk.cpp
===================================================================
--- tools/branches/gsoc2009-gui/extract_gob_stk.cpp	2009-06-15 17:14:38 UTC (rev 41553)
+++ tools/branches/gsoc2009-gui/extract_gob_stk.cpp	2009-06-15 17:30:11 UTC (rev 41554)
@@ -86,10 +86,10 @@
 		error("Couldn't create config file \"%s\"", outpath.getFullPath());
 
 	if (fread(signature, 1, 6, stk) < 6)
-		error("Unexpected EOF while reading signature in \"%s\"", argv[1]);
+		error("Unexpected EOF while reading signature in \"%s\"", inpath.getFullPath()));
 
 	if (strncmp(signature, "STK2.1", 6) == 0) {
-		warning("Signature of new STK format (STK 2.1) detected in file \"%s\"", argv[1]);
+		warning("Signature of new STK format (STK 2.1) detected in file \"%s\"", inpath.getFullPath()));
 		fprintf(gobConf, "%s\n", confSTK21);
 		chunks = readChunkListV2(stk, gobConf);
 	} else {


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