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

lightcast at users.sourceforge.net lightcast at users.sourceforge.net
Mon Aug 13 04:49:48 CEST 2007


Revision: 28574
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28574&view=rev
Author:   lightcast
Date:     2007-08-12 19:49:48 -0700 (Sun, 12 Aug 2007)

Log Message:
-----------
Increased the size of the filename and path strings.  Since the tools now use full paths rather than the current directory we may need longer strings.

Modified Paths:
--------------
    tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp
    tools/branches/gsoc2007-toolsgui/compress_scumm_san.cpp

Modified: tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp
===================================================================
--- tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp	2007-08-13 02:47:30 UTC (rev 28573)
+++ tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp	2007-08-13 02:49:48 UTC (rev 28574)
@@ -1103,10 +1103,10 @@
 		showhelp(argv[0]);
 	}
 
-	char inputDir[200];
-	char outputDir[200];
-	char inputFilename[200];
-	char tmpPath[200];
+	char inputDir[768];
+	char outputDir[768];
+	char inputFilename[256];
+	char tmpPath[768];
 
 	uint32 tag;
 	int32 numFiles, offset;

Modified: tools/branches/gsoc2007-toolsgui/compress_scumm_san.cpp
===================================================================
--- tools/branches/gsoc2007-toolsgui/compress_scumm_san.cpp	2007-08-13 02:47:30 UTC (rev 28573)
+++ tools/branches/gsoc2007-toolsgui/compress_scumm_san.cpp	2007-08-13 02:49:48 UTC (rev 28574)
@@ -638,10 +638,10 @@
 	if (argc < 4)
 		showhelp(argv[0]);
 
-	char inputDir[200];
-	char outputDir[200];
-	char inputFilename[200];
-	char tmpPath[200];
+	char inputDir[768];
+	char outputDir[768];
+	char inputFilename[256];
+	char tmpPath[768];
 
 	strcpy(inputFilename, argv[argc - 3]);
 	strcpy(inputDir, argv[argc - 2]);


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