From ffd4a4f4369845a296c954f0991b32532cb305db Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 18 Oct 2002 19:46:00 +0000 Subject: [PATCH] /* */ --- stepmania/src/RageUtil.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/RageUtil.cpp b/stepmania/src/RageUtil.cpp index 61fe74595b..3a032e656e 100644 --- a/stepmania/src/RageUtil.cpp +++ b/stepmania/src/RageUtil.cpp @@ -269,6 +269,9 @@ void GetDirListing( CString sPath, CStringArray &AddTo, bool bOnlyDirs, bool bRe CString sDir, sThrowAway; splitrelpath( sPath, sDir, sThrowAway, sThrowAway ); + /* XXX: We should use Find* to get a file list only, and handle + * wildcard matching ourself. Windows matching is braindead. For + * example, *.dwi matches "foo.dwi~". */ WIN32_FIND_DATA fd; HANDLE hFind = ::FindFirstFile( sPath, &fd );