Explorar o código

Merge pull request #562 from Azaezel/alpha40/macABfix

followup to #531. fixes the same issue on mac
Brian Roberts %!s(int64=4) %!d(string=hai) anos
pai
achega
b44a8cf644
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Engine/source/platformMac/macFileIO.mm

+ 1 - 1
Engine/source/platformMac/macFileIO.mm

@@ -911,7 +911,7 @@ static bool recurseDumpDirectories(const char *basePath, const char *subPath, Ve
 //-----------------------------------------------------------------------------
 bool Platform::dumpDirectories(const char *path, Vector<StringTableEntry> &directoryVector, S32 depth, bool noBasePath)
 {
-   bool retVal = recurseDumpDirectories(path, "", directoryVector, 0, depth, noBasePath);
+   bool retVal = recurseDumpDirectories(path, "", directoryVector, -1, depth, noBasePath);
    clearExcludedDirectories();
    return retVal;
 }