From 7b18f346dd7eadc4afb1da207e78d2e61fc03f8f Mon Sep 17 00:00:00 2001 From: Cr4sh Date: Sun, 12 Feb 2017 10:28:33 +0300 Subject: [PATCH] NE Alpha 39 --- common/nvramparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/nvramparser.cpp b/common/nvramparser.cpp index 0ac09b6..055e25b 100644 --- a/common/nvramparser.cpp +++ b/common/nvramparser.cpp @@ -33,7 +33,7 @@ USTATUS NvramParser::parseNvarStore(const UModelIndex & index) UINT8 emptyByte = 0xFF; UModelIndex parentFileIndex = model->findParentOfType(index, Types::File); if (parentFileIndex.isValid() && model->hasEmptyParsingData(parentFileIndex) == false) { - UByteArray data = model->parsingData(index); + UByteArray data = model->parsingData(parentFileIndex); const FILE_PARSING_DATA* pdata = (const FILE_PARSING_DATA*)data.constData(); emptyByte = pdata->emptyByte; }