Closed zedingCZ closed 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; }
Fixed now. Thanks for reporting!
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; }