summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/InputProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/InputProfile.cpp')
-rw-r--r--Source/Core/InputCommon/InputProfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/InputProfile.cpp b/Source/Core/InputCommon/InputProfile.cpp
index be0f02c975..492b45975e 100644
--- a/Source/Core/InputCommon/InputProfile.cpp
+++ b/Source/Core/InputCommon/InputProfile.cpp
@@ -34,7 +34,7 @@ std::vector<std::string> GetProfilesFromSetting(const std::string& setting, cons
std::vector<std::string> result;
for (const std::string& setting_choice : setting_choices)
{
- const std::string path = root + std::string(StripSpaces(setting_choice));
+ const std::string path = root + std::string(StripWhitespace(setting_choice));
if (File::IsDirectory(path))
{
const auto files_under_directory = Common::DoFileSearch({path}, {".ini"}, true);