From c17f19c0d02f8287ddccb69d3c3d0a4b75e84be3 Mon Sep 17 00:00:00 2001 From: Kyzentun Date: Mon, 8 Dec 2014 15:18:39 -0700 Subject: [PATCH] Wildcards are the difference between finding similar things, and finding nothing. --- src/RageFileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RageFileManager.cpp b/src/RageFileManager.cpp index d42654fc34..453606fabc 100644 --- a/src/RageFileManager.cpp +++ b/src/RageFileManager.cpp @@ -402,7 +402,7 @@ void RageFileManager::GetDirListingWithMultipleExtensions( const RString &sPath, for(vector::const_iterator curr_ext= ExtensionList.begin(); curr_ext != ExtensionList.end(); ++curr_ext) { - GetDirListing(sPath + (*curr_ext), AddTo, bOnlyDirs, bReturnPathToo); + GetDirListing(sPath + "*." + (*curr_ext), AddTo, bOnlyDirs, bReturnPathToo); } }