summaryrefslogtreecommitdiff
path: root/src/dirs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-04 17:43:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-04 17:43:40 +0300
commit2ac4af7560ae6596f442600843acc9fe9cfe7964 (patch)
tree83e2fdb70d23b207104d42bab6d6cb29d002dd86 /src/dirs.cpp
parent787caddc0074df0b3fb217bad561be8fd71ca5b9 (diff)
downloadmv-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.cpp4
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))