Input: Trim profile names to allow spaces between ','s

This commit is contained in:
iwubcode 2018-04-28 13:54:00 -05:00
parent e10abaed3e
commit 83c94feb3d
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace InputProfile
std::vector<std::string> result(profiles.size());
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;