[fs linux] Remove extra '/' from user folder
Use join_paths instead of string concatenation.
This commit is contained in:
parent
c1ad903243
commit
10ea3faa8f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue