diff --git a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c index b3da13d0a3..1099b640a2 100644 --- a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c +++ b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c @@ -64,7 +64,7 @@ DisplayPageFrame ( return EFI_INVALID_PARAMETER; } - Status = ScreenDiemensionInfoValidate (FormData); + Status = ScreenDimensionInfoValidate (FormData); if (EFI_ERROR (Status)) { return Status; } diff --git a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c index 42dd8f869d..2d807bfcb6 100644 --- a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c +++ b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c @@ -378,7 +378,7 @@ ProcessExternedOpcode ( } /** - Validate the input screen diemenstion info. + Validate the input screen dimension info. @param FormData The input form data info. @@ -387,7 +387,7 @@ ProcessExternedOpcode ( **/ EFI_STATUS -ScreenDiemensionInfoValidate ( +ScreenDimensionInfoValidate ( IN FORM_DISPLAY_ENGINE_FORM *FormData ) { diff --git a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.h b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.h index 01213cb059..a9ac17ca7c 100644 --- a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.h +++ b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.h @@ -129,7 +129,7 @@ PrintFramework ( ); /** - Validate the input screen diemenstion info. + Validate the input screen dimension info. @param FormData The input form data info. @@ -138,7 +138,7 @@ PrintFramework ( **/ EFI_STATUS -ScreenDiemensionInfoValidate ( +ScreenDimensionInfoValidate ( IN FORM_DISPLAY_ENGINE_FORM *FormData );