2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:44:56 +00:00

Windows compile fix

This commit is contained in:
Jack Andersen
2018-01-11 16:31:25 -10:00
parent f92caf3810
commit 6e3dd7cabc
2 changed files with 3 additions and 3 deletions

View File

@@ -53,13 +53,13 @@ class ToolPackage final : public ToolBase
CheckFile(childPath);
}
/* Directory with 2 components not "Shared" or macOS app buundle
/* Directory with 2 components not "Shared" or macOS app bundle
* and no nested !world.blend files == General PAK */
if (checkGeneral && origSize == m_selectedItems.size())
{
auto pathComps = path.getPathComponents();
if (pathComps.size() == 2 && pathComps[0] != _S("out") &&
pathComps[1] != _S("Shared") && pathComps[0].find(".app") == hecl::SystemString::npos)
pathComps[1] != _S("Shared") && pathComps[0].find(_S(".app")) == hecl::SystemString::npos)
AddSelectedItem(path);
}
}