mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Input: Trim profile names to allow spaces between ','s
This commit is contained in:
@ -69,7 +69,7 @@ namespace InputProfile
|
|||||||
std::vector<std::string> result(profiles.size());
|
std::vector<std::string> result(profiles.size());
|
||||||
std::transform(profiles.begin(), profiles.end(), result.begin(), [&device_profile_root_location](const std::string& profile)
|
std::transform(profiles.begin(), profiles.end(), result.begin(), [&device_profile_root_location](const std::string& profile)
|
||||||
{
|
{
|
||||||
return device_profile_root_location + "/" + profile + ".ini";
|
return device_profile_root_location + "/" + StripSpaces(profile) + ".ini";
|
||||||
});
|
});
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Reference in New Issue
Block a user