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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user