回复: [edk2-devel] [PATCH] MdeModulePkg/UiApp: Fix spelling of 'FRONTPAGE'


gaoliming
 

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

-----邮件原件-----
发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Sean Rhodes
发送时间: 2022年1月29日 5:37
收件人: devel@edk2.groups.io
抄送: Matt DeVillier <matt.devillier@gmail.com>
主题: [edk2-devel] [PATCH] MdeModulePkg/UiApp: Fix spelling of
'FRONTPAGE'

From: Matt DeVillier <matt.devillier@gmail.com>

Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
---
MdeModulePkg/Application/UiApp/FrontPage.c | 2 +-
MdeModulePkg/Application/UiApp/FrontPage.h | 2 +-
MdeModulePkg/Application/UiApp/FrontPageVfr.Vfr | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c
b/MdeModulePkg/Application/UiApp/FrontPage.c
index cc9569e225..0e784fb327 100644
--- a/MdeModulePkg/Application/UiApp/FrontPage.c
+++ b/MdeModulePkg/Application/UiApp/FrontPage.c
@@ -213,7 +213,7 @@ UpdateFrontPageForm (
//

StartGuidLabel = (EFI_IFR_GUID_LABEL
*)HiiCreateGuidOpCode (StartOpCodeHandle, &gEfiIfrTianoGuid, NULL, sizeof
(EFI_IFR_GUID_LABEL));

StartGuidLabel->ExtendOpCode = EFI_IFR_EXTEND_OP_LABEL;

- StartGuidLabel->Number = LABEL_FRANTPAGE_INFORMATION;

+ StartGuidLabel->Number = LABEL_FRONTPAGE_INFORMATION;

//

// Create Hii Extend Label OpCode as the end opcode

//

diff --git a/MdeModulePkg/Application/UiApp/FrontPage.h
b/MdeModulePkg/Application/UiApp/FrontPage.h
index 20c4f5f9a7..efabc9ed1a 100644
--- a/MdeModulePkg/Application/UiApp/FrontPage.h
+++ b/MdeModulePkg/Application/UiApp/FrontPage.h
@@ -33,7 +33,7 @@ extern EFI_FORM_BROWSER2_PROTOCOL
*gFormBrowser2;
//

#define FRONT_PAGE_FORM_ID 0x1000



-#define LABEL_FRANTPAGE_INFORMATION 0x1000

+#define LABEL_FRONTPAGE_INFORMATION 0x1000

#define LABEL_END 0xffff



#define FRONT_PAGE_FORMSET_GUID \

diff --git a/MdeModulePkg/Application/UiApp/FrontPageVfr.Vfr
b/MdeModulePkg/Application/UiApp/FrontPageVfr.Vfr
index aabf47fdf6..ac40c4676e 100644
--- a/MdeModulePkg/Application/UiApp/FrontPageVfr.Vfr
+++ b/MdeModulePkg/Application/UiApp/FrontPageVfr.Vfr
@@ -11,7 +11,7 @@


#define FRONT_PAGE_FORM_ID 0x1000



-#define LABEL_FRANTPAGE_INFORMATION 0x1000

+#define LABEL_FRONTPAGE_INFORMATION 0x1000

#define LABEL_END 0xffff



formset

@@ -68,7 +68,7 @@ formset
line 5,

align right;



- label LABEL_FRANTPAGE_INFORMATION;

+ label LABEL_FRONTPAGE_INFORMATION;

//

// This is where we will dynamically add a Action type op-code to
show

// the platform information.

--
2.32.0



-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#86186): https://edk2.groups.io/g/devel/message/86186
Mute This Topic: https://groups.io/mt/88757872/4905953
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub
[gaoliming@byosoft.com.cn]
-=-=-=-=-=-=