summaryrefslogtreecommitdiff
path: root/src/dirs.cpp
diff options
context:
space:
mode:
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))