aboutsummaryrefslogtreecommitdiff
path: root/src/tools/connection_patcher/Program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/connection_patcher/Program.cpp')
-rw-r--r--src/tools/connection_patcher/Program.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp
index 08ea8d3a0f7..e0ba3fdd76e 100644
--- a/src/tools/connection_patcher/Program.cpp
+++ b/src/tools/connection_patcher/Program.cpp
@@ -201,7 +201,8 @@ int main(int argc, char** argv)
if ((tempPath = getenv("HOME")) == nullptr)
tempPath = getpwuid(getuid())->pw_dir;
std::string tempPathStr(tempPath);
- appDataPath.assign(tempPathStr.begin(), tempPathStr.end()) + std::wstring(L"/.wine/drive_c/users/Public/Application Data");
+ appDataPath.assign(tempPathStr.begin(), tempPathStr.end());
+ appDataPath += std::wstring(L"/.wine/drive_c/users/Public/Application Data");
#endif
if (vm.count("modulePath"))
appDataPath.assign(vm["modulePath"].as<std::string>().begin(), vm["modulePath"].as<std::string>().end());