diff options
| author | waddlesplash <waddlesplash@gmail.com> | 2015-09-21 20:01:08 -0400 |
|---|---|---|
| committer | waddlesplash <waddlesplash@gmail.com> | 2015-09-27 13:25:51 -0400 |
| commit | 5643fe5d1f55f6311d842d73c4614c3577bd10e2 (patch) | |
| tree | 68a0d325970ea1a7ed36eeb3fc619d2a73f0ce56 /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 79bf93996fbfc713c1d6aa641b3af061d1d33c36 (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 5479902a87..2948199286 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -1956,7 +1956,7 @@ void CFrame::GameListChanged(wxCommandEvent& event) SConfig::GetInstance().m_ListDrives = event.IsChecked(); break; case IDM_PURGE_CACHE: - std::vector<std::string> rFilenames = DoFileSearch({"*.cache"}, {File::GetUserPath(D_CACHE_IDX)}); + std::vector<std::string> rFilenames = DoFileSearch({".cache"}, {File::GetUserPath(D_CACHE_IDX)}); for (const std::string& rFilename : rFilenames) { |
