diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-18 23:22:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-18 23:22:53 +0300 |
commit | 490a88bc196d6191e243fb3491a9c4fc864ac60a (patch) | |
tree | 2954b7d7d83c0b81cbe3c04eefba67cec2598bff | |
parent | c964ce66f2eb972db4d626cdd33a93d5af2dd8d9 (diff) | |
download | manaverse-490a88bc196d6191e243fb3491a9c4fc864ac60a.tar.gz manaverse-490a88bc196d6191e243fb3491a9c4fc864ac60a.tar.bz2 manaverse-490a88bc196d6191e243fb3491a9c4fc864ac60a.tar.xz manaverse-490a88bc196d6191e243fb3491a9c4fc864ac60a.zip |
Fix code style in dirs.
-rw-r--r-- | src/dirs.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp index 051c00c40..8b0bbbeeb 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -174,9 +174,11 @@ void Dirs::extractDataDir() extractAssets(); const std::string zipName = std::string(getenv( - "APPDIR")).append("/data.zip"); + "APPDIR")).append( + "/data.zip"); const std::string dirName = std::string(getenv( - "APPDIR")).append("/data"); + "APPDIR")).append( + "/data"); Files::extractZip(zipName, "data", dirName); Files::extractLocale(); #endif @@ -485,8 +487,9 @@ void Dirs::initUpdatesDir() if (!PhysFs::mkdir(updateDir.c_str())) { #if defined WIN32 - std::string newDir = settings.localDataDir - + "\\" + settings.updatesDir; + std::string newDir = settings.localDataDir + + "\\" + + settings.updatesDir; size_t loc = newDir.find("/", 0); while (loc != std::string::npos) |