From b81f5712b5458c5096273b04972e9e8c1e5f8e09 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Fri, 2 May 2014 07:44:21 +0200 Subject: [PATCH] Version 0.17.10.1 -added GUID info for GUID-defined section --- ffsengine.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ffsengine.cpp b/ffsengine.cpp index 7966148..c458bc1 100644 --- a/ffsengine.cpp +++ b/ffsengine.cpp @@ -1039,7 +1039,8 @@ UINT8 FfsEngine::parseSection(const QByteArray & section, QModelIndex & index, c // Get info name = guidToQString(guidDefinedSectionHeader->SectionDefinitionGuid); - info = tr("Type: %1\nSize: %2\nData offset: %3\nAttributes: %4") + info = tr("GUID: %1\nType: %2\nSize: %3\nData offset: %4\nAttributes: %5") + .arg(name) .arg(sectionHeader->Type, 2, 16, QChar('0')) .arg(body.size(), 6, 16, QChar('0')) .arg(guidDefinedSectionHeader->DataOffset, 4, 16, QChar('0')) @@ -3149,4 +3150,4 @@ UINT32 FfsEngine::crc32(UINT32 initial, const UINT8* buffer, UINT32 length) } return(crc32 ^ 0xFFFFFFFF); -} \ No newline at end of file +}