Permalink
Browse files

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

  • Loading branch information...
iwubcode committed Apr 28, 2018
1 parent e10abae commit 83c94feb3d6bd60a23e57cdb0afd837172fa3a31
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/InputCommon/InputProfile.cpp
@@ -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;

0 comments on commit 83c94fe

Please sign in to comment.