mirror of https://github.com/acidanthera/audk.git
Fixed an error when parse time opcode.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11668 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2f4f828a23
commit
5ec56d19a6
|
@ -1639,7 +1639,7 @@ ParseOpCodes (
|
|||
CurrentStatement->HiiValue.Type = EFI_IFR_TYPE_TIME;
|
||||
|
||||
if ((CurrentStatement->Flags & QF_TIME_STORAGE) == QF_TIME_STORAGE_NORMAL) {
|
||||
CurrentStatement->StorageWidth = (UINT16) sizeof (EFI_IFR_TIME);
|
||||
CurrentStatement->StorageWidth = (UINT16) sizeof (EFI_HII_TIME);
|
||||
|
||||
InitializeRequestElement (FormSet, CurrentStatement);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue