mirror of https://github.com/acidanthera/audk.git
Fix orderedlist opcode shows abnormal.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14748 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
28401a651c
commit
72f2eca287
|
@ -2076,7 +2076,7 @@ UiDisplayMenu (
|
|||
}
|
||||
|
||||
if ((FormData->Attribute & HII_DISPLAY_MODAL) != 0) {
|
||||
DisplayOneMenu (MenuOption,
|
||||
Status = DisplayOneMenu (MenuOption,
|
||||
LEFT_SKIPPED_COLUMNS,
|
||||
gStatementDimensions.LeftColumn + gModalSkipColumn,
|
||||
Link == TopOfScreen ? SkipValue : 0,
|
||||
|
@ -2084,7 +2084,7 @@ UiDisplayMenu (
|
|||
(BOOLEAN) ((Link == NewPos) && IsSelectable(MenuOption))
|
||||
);
|
||||
} else {
|
||||
DisplayOneMenu (MenuOption,
|
||||
Status = DisplayOneMenu (MenuOption,
|
||||
LEFT_SKIPPED_COLUMNS,
|
||||
gStatementDimensions.LeftColumn,
|
||||
Link == TopOfScreen ? SkipValue : 0,
|
||||
|
@ -2093,6 +2093,9 @@ UiDisplayMenu (
|
|||
);
|
||||
}
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
//
|
||||
// 3. Update the row info which will be used by next menu.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue