X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e8e52cd039b4c71913e157d7855500ba98e7cade..2cc48828ea1a0ca0a0729c403abc9d7b25945880:/ftparchive/writer.cc diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc index 11ba3a323..27d6e98e0 100644 --- a/ftparchive/writer.cc +++ b/ftparchive/writer.cc @@ -56,7 +56,7 @@ FTWScanner *FTWScanner::Owner; // ConfigToDoHashes - which hashes to generate /*{{{*/ static void SingleConfigToDoHashes(unsigned int &DoHashes, std::string const &Conf, unsigned int const Flag) { - if (_config->FindB(Conf, true) == true) + if (_config->FindB(Conf, (DoHashes & Flag) == Flag) == true) DoHashes |= Flag; else DoHashes &= ~Flag;