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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Sep 17 18:40:29 CEST 2009


Revision: 44168
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44168&view=rev
Author:   lordhoto
Date:     2009-09-17 16:40:29 +0000 (Thu, 17 Sep 2009)

Log Message:
-----------
Add some missing new lines to error messages.

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

Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2009-09-17 16:40:07 UTC (rev 44167)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2009-09-17 16:40:29 UTC (rev 44168)
@@ -437,7 +437,7 @@
 
 	out.removeFile(filename);
 	if (!out.addFile(filename, index, kIndexSize)) {
-		fprintf(stderr, "ERROR: couldn't update %s file", filename);
+		fprintf(stderr, "ERROR: couldn't update %s file\n", filename);
 		delete[] index;
 		return false;
 	}
@@ -1007,7 +1007,7 @@
 		PAKFile::cFileList *list = out.getFileList();
 		// If the data wasn't found already, we need to break the extraction here
 		if (!list || !list->findEntry(filename)) {
-			fprintf(stderr, "Couldn't find id %d/%s in executable file", *entry, getIdString(*entry));
+			fprintf(stderr, "Couldn't find id %d/%s in executable file\n", *entry, getIdString(*entry));
 			return false;
 		} else {
 			warning("Id %d/%s is present in kyra.dat but could not be found in the executable", *entry, getIdString(*entry));


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