[Scummvm-cvs-logs] SF.net SVN: scummvm: [28655] tools/branches/gsoc2007-toolsgui/compress_saga .cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Aug 18 14:00:27 CEST 2007


Revision: 28655
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28655&view=rev
Author:   thebluegr
Date:     2007-08-18 05:00:27 -0700 (Sat, 18 Aug 2007)

Log Message:
-----------
Fixed compress_saga in the gsoc2007-toolsgui branch

Modified Paths:
--------------
    tools/branches/gsoc2007-toolsgui/compress_saga.cpp

Modified: tools/branches/gsoc2007-toolsgui/compress_saga.cpp
===================================================================
--- tools/branches/gsoc2007-toolsgui/compress_saga.cpp	2007-08-18 11:10:41 UTC (rev 28654)
+++ tools/branches/gsoc2007-toolsgui/compress_saga.cpp	2007-08-18 12:00:27 UTC (rev 28655)
@@ -496,7 +496,7 @@
 int main(int argc, char *argv[]) {
 	int	i;
 	char inputPath[768];
-	char *inputFileName = NULL;
+	char inputFileName[256];
 	char inputFileNameWithExt[256];
 
 	if (argc < 2) {
@@ -546,7 +546,7 @@
 	getFilename(argv[argc - 1], inputFileName);
 
 	if (strrchr(inputFileName, '.') != NULL) {
-		error("Please specifiy the filename without an extension");
+		error("Please specify the filename without an extension");
 	}
 
 	// ITE


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