summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4e2cbcd7f..c16d26aa6 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1884,6 +1884,11 @@ void Client::initUpdatesDir()
mUpdatesDir = updates.str();
}
+#ifdef WIN32
+ if (mUpdatesDir.find(":") != std::string::npos)
+ replaceAll(mUpdatesDir, ":", "_");
+#endif
+
ResourceManager *const resman = ResourceManager::getInstance();
// Verify that the updates directory exists. Create if necessary.