From a72778c6d73a2fedfb37f5bba068f1d8b638aba7 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 19 Aug 2009 13:29:29 +0000 Subject: [PATCH] Fix the issue that EFI_IFR_RESET_BUTTON is incorrectly listed as a question. git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1686 7335b38e-4728-0410-8992-fb3ffe349368 --- Source/C/Include/Common/UefiInternalFormRepresentation.h | 2 +- Source/C/VfrCompile/VfrFormPkg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/C/Include/Common/UefiInternalFormRepresentation.h b/Source/C/Include/Common/UefiInternalFormRepresentation.h index a127c95..f54614a 100644 --- a/Source/C/Include/Common/UefiInternalFormRepresentation.h +++ b/Source/C/Include/Common/UefiInternalFormRepresentation.h @@ -839,7 +839,7 @@ typedef struct _EFI_IFR_REF4 { typedef struct _EFI_IFR_RESET_BUTTON { EFI_IFR_OP_HEADER Header; - EFI_IFR_QUESTION_HEADER Question; + EFI_IFR_STATEMENT_HEADER Statement; EFI_DEFAULT_ID DefaultId; } EFI_IFR_RESET_BUTTON; diff --git a/Source/C/VfrCompile/VfrFormPkg.h b/Source/C/VfrCompile/VfrFormPkg.h index 3f38766..c0171db 100644 --- a/Source/C/VfrCompile/VfrFormPkg.h +++ b/Source/C/VfrCompile/VfrFormPkg.h @@ -856,7 +856,7 @@ private: public: CIfrResetButton () : CIfrObj (EFI_IFR_RESET_BUTTON_OP, (CHAR8 **)&mResetButton), CIfrOpHeader (EFI_IFR_RESET_BUTTON_OP, &mResetButton->Header), - CIfrStatementHeader (&mResetButton->Question.Header) { + CIfrStatementHeader (&mResetButton->Statement) { mResetButton->DefaultId = EFI_HII_DEFAULT_CLASS_STANDARD; } -- 2.17.1