BoomerangDecompiler / boomerang

Boomerang Decompiler - Fighting the code-rot :)
Other
374 stars 59 forks source link

Error in loader for dos4gw #239

Closed zedingCZ closed 5 years ago

zedingCZ commented 5 years ago

the operator is wrong in the condition, and it is right && place ||

if (!Util::testMagic(&m_LXHeader.sigLo, { 'L', 'X' }) || !Util::testMagic(&m_LXHeader.sigLo, { 'L', 'E' })) { LOG_ERROR("Error loading file: bad LE/LX magic"); return false; }

ceeac commented 5 years ago

Fixed now. Thanks for reporting!