diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2018-04-28 13:54:00 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2018-07-07 12:55:52 -0500 |
| commit | 83c94feb3d6bd60a23e57cdb0afd837172fa3a31 (patch) | |
| tree | ee8524a3c0700a0bc0be7dfb856bc6042a130ad2 /Source/Core/InputCommon/InputProfile.cpp | |
| parent | e10abaed3e4aa48379dc1a052d2d9a2851e8464d (diff) | |
Input: Trim profile names to allow spaces between ','s
Diffstat (limited to 'Source/Core/InputCommon/InputProfile.cpp')
| -rw-r--r-- | Source/Core/InputCommon/InputProfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/InputProfile.cpp b/Source/Core/InputCommon/InputProfile.cpp index 7cefa5122c..dc76c83fa8 100644 --- a/Source/Core/InputCommon/InputProfile.cpp +++ b/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; |
