Fix missing / in custom collection path

This commit is contained in:
Tomas Jakobsson 2018-10-09 13:23:32 +02:00
parent 3f9ffaa33d
commit 38c2b9a67b

View file

@ -1035,12 +1035,12 @@ bool CollectionSystemManager::includeFileInAutoCollections(FileData* file)
std::string getCustomCollectionConfigPath(std::string collectionName) std::string getCustomCollectionConfigPath(std::string collectionName)
{ {
return getCollectionsFolder() + "custom-" + collectionName + ".cfg";; return getCollectionsFolder() + "/custom-" + collectionName + ".cfg";
} }
std::string getCollectionsFolder() std::string getCollectionsFolder()
{ {
return Utils::FileSystem::getGenericPath(Utils::FileSystem::getHomePath() + "/.emulationstation/collections/"); return Utils::FileSystem::getGenericPath(Utils::FileSystem::getHomePath() + "/.emulationstation/collections");
} }
bool systemSort(SystemData* sys1, SystemData* sys2) bool systemSort(SystemData* sys1, SystemData* sys2)