Fixed bug.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2920 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2008-02-07 09:06:56 +00:00
parent de203d2f6c
commit f82c0251f5
+1 -1
View File
@@ -149,7 +149,7 @@ prepareContentDir (const char *contentDirName, const char *execFile)
if (loc == NULL)
{
char *tempDir = (char *) HMalloc (PATH_MAX);
snprintf (tempDir, sizeof tempDir, "%s/../Resources/content",
snprintf (tempDir, PATH_MAX, "%s/../Resources/content",
dirname (execFile));
loc = findFileInDirs ((const char **) &tempDir, 1, testFile);
HFree (tempDir);