1
0
Fork 0
mirror of https://gitlab.com/Mr_Goldberg/goldberg_emulator.git synced 2024-11-14 10:50:13 +01:00

Simplify default path creation

This commit is contained in:
soft as HELL 2019-04-16 07:46:40 +03:00
parent 1c19f418c6
commit 52cad2114d
No known key found for this signature in database
GPG key ID: F12286FEB8B8C504

View file

@ -416,8 +416,7 @@ std::string Local_Storage::get_user_appdata_path()
} else {
char *homedir = getenv("HOME");
if (homedir) {
user_appdata_path = homedir;
user_appdata_path.append(PATH_SEPARATOR).append(".local").append(PATH_SEPARATOR).append("share");
user_appdata_path = std::string(homedir) + "/.local/share";
}
}
#endif