Incorrect Fixed=true attribute of sections fixed

This commit is contained in:
Nikolaj Schlej 2016-07-11 09:35:01 +02:00 committed by GitHub
parent df3f832762
commit 72116d01c0

View file

@ -1906,7 +1906,7 @@ USTATUS FfsParser::parseCommonSectionHeader(const UByteArray & section, const UI
// Add tree item
if (!preparse) {
index = model->addItem(Types::Section, type, name, UString(), info, header, body, UByteArray(), true, parsingDataToUByteArray(pdata), parent);
index = model->addItem(Types::Section, type, name, UString(), info, header, body, UByteArray(), false, parsingDataToUByteArray(pdata), parent);
}
return U_SUCCESS;
}
@ -1973,7 +1973,7 @@ USTATUS FfsParser::parseCompressedSectionHeader(const UByteArray & section, cons
// Add tree item
if (!preparse) {
index = model->addItem(Types::Section, sectionHeader->Type, name, UString(), info, header, body, UByteArray(), true, parsingDataToUByteArray(pdata), parent);
index = model->addItem(Types::Section, sectionHeader->Type, name, UString(), info, header, body, UByteArray(), false, parsingDataToUByteArray(pdata), parent);
}
return U_SUCCESS;
}
@ -2342,7 +2342,6 @@ USTATUS FfsParser::parsePostcodeSectionHeader(const UByteArray & section, const
return U_SUCCESS;
}
USTATUS FfsParser::parseSectionBody(const UModelIndex & index)
{
// Sanity check