Re-write FileScanner for easier cross platform and multiple patterns

This commit is contained in:
Ted John committed 2016-10-22 22:36:45 +01:00
1 parent 9118f24778
commit 7834afb34a
5 files changed
+266 -116

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ private:
{
utf8 pattern[MAX_PATH];
String::Set(pattern, sizeof(pattern), directory);
Path::Append(pattern, sizeof(pattern), "*.td6");
Path::Append(pattern, sizeof(pattern), "*.td4;*.td6");
IFileScanner * scanner = Path::ScanDirectory(pattern, true);
while (scanner->Next())