summaryrefslogtreecommitdiff
path: root/src/base_media_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_media_func.h')
-rw-r--r--src/base_media_func.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base_media_func.h b/src/base_media_func.h
index f45956f76..f30824ad2 100644
--- a/src/base_media_func.h
+++ b/src/base_media_func.h
@@ -129,7 +129,8 @@ bool BaseSet<T, Tnum_files, Tsearch_in_tars>::FillSetDetails(IniFile *ini, const
file->missing_warning = stredup(item->value);
}
- switch (T::CheckMD5(file, BASESET_DIR)) {
+ file->check_result = T::CheckMD5(file, BASESET_DIR);
+ switch (file->check_result) {
case MD5File::CR_MATCH:
this->valid_files++;
this->found_files++;