Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/rarfilesource.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOctaneSnail <os@v12pwr.com>2008-12-14 23:12:02 +0300
committerOctaneSnail <os@v12pwr.com>2008-12-14 23:12:02 +0300
commit9d85262f5bdb1336ac76d9a9b361bbc7bb4d131e (patch)
tree35cf9a57e476c5cb9c2d58f7c06099b34cad10fd
parentebe420fcadc882c88db0eaf3d411abb9da7e6d40 (diff)
Enable checking file extensions as a fallback for now.
-rw-r--r--RFS.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/RFS.cpp b/RFS.cpp
index c6f464a..711b556 100644
--- a/RFS.cpp
+++ b/RFS.cpp
@@ -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;