mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-03 09:48:32 +00:00
StripSpaces: only strip spaces
StripWhitespace maintains old behavior
This commit is contained in:
parent
e4ff49769c
commit
f92541fbd9
20 changed files with 44 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue