mirror of
https://github.com/avast/retdec.git
synced 2025-01-31 18:53:23 +00:00
fileformat/pe_format: fix isMissingDependency()
Return value was reversed by #835 merge.
This commit is contained in:
parent
e57706fa6c
commit
6f9f518ed1
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user