This commit is contained in:
Glenn Maynard
2002-10-18 19:46:00 +00:00
parent 1a2cc7dfdf
commit ffd4a4f436
+3
View File
@@ -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 );