(svn r18610) -Codechange: don't consider a music set at all for 'best' set when it's missing files

This commit is contained in:
rubidium 2009-12-23 08:51:46 +00:00
parent c93d873638
commit 6e97343df6

View File

@ -43,6 +43,8 @@ template <class Tbase_set>
const Tbase_set *best = NULL;
for (const Tbase_set *c = BaseMedia<Tbase_set>::available_sets; c != NULL; c = c->next) {
if (c->GetNumMissing() != 0) continue;
if (best == NULL ||
best->valid_files < c->valid_files ||
(best->valid_files == c->valid_files &&