[fs linux] Remove extra '/' from user folder

Use join_paths instead of string concatenation.
This commit is contained in:
Sandy Carter 2019-08-23 08:18:14 +02:00
parent c1ad903243
commit 10ea3faa8f
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ std::wstring GetUserFolder() {
}
std::string home(dataHome);
return to_wstring(home + "/.local/share");
return xe::join_paths(to_wstring(home), L".local/share");
}
bool PathExists(const std::wstring& path) {