diff options
author | OctaneSnail <os@v12pwr.com> | 2008-12-14 23:12:02 +0300 |
---|---|---|
committer | OctaneSnail <os@v12pwr.com> | 2008-12-14 23:12:02 +0300 |
commit | 9d85262f5bdb1336ac76d9a9b361bbc7bb4d131e (patch) | |
tree | 35cf9a57e476c5cb9c2d58f7c06099b34cad10fd | |
parent | ebe420fcadc882c88db0eaf3d411abb9da7e6d40 (diff) |
Enable checking file extensions as a fallback for now.
-rw-r--r-- | RFS.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -563,8 +563,7 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i } } - //TODO: should we fall back to extensions if automatic detection does not work ? - /* + // TODO: Figure out if checking file extensions is necessary anymore. if(!file->type_known) { char *ext = strrchr (file->filename, '.'); @@ -592,7 +591,7 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i } else DbgLog ((LOG_TRACE, 2, L"No file extension.")); - }*/ + } if (filename != file->filename) delete filename; |