From 5643fe5d1f55f6311d842d73c4614c3577bd10e2 Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Mon, 21 Sep 2015 20:01:08 -0400 Subject: 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. --- Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp') diff --git a/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp b/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp index 1e3cfb10ed..226ea1d191 100644 --- a/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp @@ -162,7 +162,7 @@ void InterfaceConfigPane::LoadGUIValues() void InterfaceConfigPane::LoadThemes() { - auto sv = DoFileSearch({"*"}, { + auto sv = DoFileSearch({""}, { File::GetUserPath(D_THEMES_IDX), File::GetSysDirectory() + THEMES_DIR }, /*recursive*/ false); -- cgit v1.2.3