Minor fix

This commit is contained in:
Eduardo Bart
2013-01-23 13:43:39 -02:00
parent 3f882d9e6c
commit 1674575dc0
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ bool ResourceManager::discoverWorkDir(const std::string& existentFile)
std::string possiblePaths[] = { g_resources.getCurrentDir(),
g_resources.getBaseDir(),
g_resources.getBaseDir() + "../",
g_resources.getBaseDir() + "../share/" + g_app.getCompactName() };
g_resources.getBaseDir() + "../share/" + g_app.getCompactName() + "/" };
bool found = false;
for(const std::string& dir : possiblePaths) {
if(!PHYSFS_addToSearchPath(dir.c_str(), 0))