summaryrefslogtreecommitdiff
path: root/src/utils/files.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-19 21:25:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-19 21:25:27 +0300
commit7225c69c5bf2de13d32d6e9a658779405c8e2707 (patch)
tree5fbd69d62ae8bd65b7b7a2e9986041aee4829888 /src/utils/files.cpp
parentc0af9f41451d782b316feea8cf93fc50d4bd6733 (diff)
downloadplus-7225c69c5bf2de13d32d6e9a658779405c8e2707.tar.gz
plus-7225c69c5bf2de13d32d6e9a658779405c8e2707.tar.bz2
plus-7225c69c5bf2de13d32d6e9a658779405c8e2707.tar.xz
plus-7225c69c5bf2de13d32d6e9a658779405c8e2707.zip
Add strong typed bool enum Append.
Diffstat (limited to 'src/utils/files.cpp')
-rw-r--r--src/utils/files.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/files.cpp b/src/utils/files.cpp
index 578865503..07e3b2e83 100644
--- a/src/utils/files.cpp
+++ b/src/utils/files.cpp
@@ -45,7 +45,7 @@ void Files::extractLocale()
const std::string fileName2 = std::string(getenv(
"APPDIR")).append("/locale.zip");
- resourceManager->addToSearchPath(fileName2, false);
+ resourceManager->addToSearchPath(fileName2, Append_false);
const std::string localDir = std::string(getenv("APPDIR")).append("/");
char **rootDirs = PhysFs::enumerateFiles("locale");
@@ -122,7 +122,7 @@ void Files::extractZip(const std::string &restrict zipName,
const std::string &restrict inDir,
const std::string &restrict outDir)
{
- resourceManager->addToSearchPath(zipName, false);
+ resourceManager->addToSearchPath(zipName, Append_false);
copyPhysFsDir(inDir, outDir);
resourceManager->removeFromSearchPath(zipName);
remove(zipName.c_str());