fileformat/pe_format: fix isMissingDependency()

Return value was reversed by #835 merge.
This commit is contained in:
Peter Matula 2020-08-07 16:09:43 +02:00
parent e57706fa6c
commit 6f9f518ed1

View File

@ -3549,9 +3549,9 @@ bool PeFormat::isMissingDependency(std::string dllName) const
// If we have overriden set, use that one.
// Otherwise, use the default DLL set
if (std::empty(dllList)) {
return checkDefaultList(dllName);
return checkDefaultList(dllName) == false;
} else {
return dllList.find(dllName) != dllList.end();
return dllList.find(dllName) == dllList.end();
}
}