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>2012-01-21 19:53:56 +0400
committerOctaneSnail <os@v12pwr.com>2012-01-21 19:53:56 +0400
commit5cd8056584d21c7e56a3a67a9660f94c3691fe78 (patch)
tree3d20029897be30bce571f6e7f048026bd81433c2
parente578a0527ab9b5cf63ae2e976e8b59ccd4d4e8a9 (diff)
Make sure unknown files are marked as unsupported.
-rw-r--r--RFS.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/RFS.cpp b/RFS.cpp
index 0083f28..8789080 100644
--- a/RFS.cpp
+++ b/RFS.cpp
@@ -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)