diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-04 17:43:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-04 17:43:40 +0300 |
commit | 2ac4af7560ae6596f442600843acc9fe9cfe7964 (patch) | |
tree | 83e2fdb70d23b207104d42bab6d6cb29d002dd86 /src/dirs.cpp | |
parent | 787caddc0074df0b3fb217bad561be8fd71ca5b9 (diff) | |
download | mv-2ac4af7560ae6596f442600843acc9fe9cfe7964.tar.gz mv-2ac4af7560ae6596f442600843acc9fe9cfe7964.tar.bz2 mv-2ac4af7560ae6596f442600843acc9fe9cfe7964.tar.xz mv-2ac4af7560ae6596f442600843acc9fe9cfe7964.zip |
Improve join some paths.
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r-- | src/dirs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp index 85383543a..31af61165 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -510,8 +510,8 @@ void Dirs::initUpdatesDir() #endif // defined WIN32 } } - const std::string updateLocal = updateDir + "/local"; - const std::string updateFix = updateDir + "/fix"; + const std::string updateLocal = pathJoin(updateDir, "local"); + const std::string updateFix = pathJoin(updateDir, "fix"); if (!VirtFs::isDirectory(updateLocal)) VirtFs::mkdir(updateLocal); if (!VirtFs::isDirectory(updateFix)) |