Selaa lähdekoodia

Merge pull request #562 from Azaezel/alpha40/macABfix

followup to #531. fixes the same issue on mac
Brian Roberts 4 vuotta sitten
vanhempi
commit
b44a8cf644
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
 }