diff options
author | OctaneSnail <os@v12pwr.com> | 2012-01-21 19:53:56 +0400 |
---|---|---|
committer | OctaneSnail <os@v12pwr.com> | 2012-01-21 19:53:56 +0400 |
commit | 5cd8056584d21c7e56a3a67a9660f94c3691fe78 (patch) | |
tree | 3d20029897be30bce571f6e7f048026bd81433c2 | |
parent | e578a0527ab9b5cf63ae2e976e8b59ccd4d4e8a9 (diff) |
Make sure unknown files are marked as unsupported.
-rw-r--r-- | RFS.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -596,10 +596,16 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i (*ok_files_found) ++; } else + { + file->unsupported = true; DbgLog ((LOG_TRACE, 2, L"Unknown file extension.")); + } } else + { + file->unsupported = true; DbgLog ((LOG_TRACE, 2, L"No file extension.")); + } } if (filename != file->filename) |