diff --git a/dll/local_storage.cpp b/dll/local_storage.cpp index a99af35..319f33e 100644 --- a/dll/local_storage.cpp +++ b/dll/local_storage.cpp @@ -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