mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
FileSearch: Don't use RegExs, just do string comparisons.
Nothing used the RegEx feature of FileSearch, and GCC < 4.9 doesn't support C++11 RegEx properly, so get rid of it.
This commit is contained in:
@ -172,7 +172,7 @@ void InputConfigDialog::UpdateProfileComboBox()
|
||||
pname += PROFILES_PATH;
|
||||
pname += m_config.profile_name;
|
||||
|
||||
std::vector<std::string> sv = DoFileSearch({"*.ini"}, {pname});
|
||||
std::vector<std::string> sv = DoFileSearch({".ini"}, {pname});
|
||||
|
||||
wxArrayString strs;
|
||||
for (const std::string& filename : sv)
|
||||
|
Reference in New Issue
Block a user