diff options
author | Eric Dong <eric.dong@intel.com> | 2013-10-08 06:26:37 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-10-08 06:26:37 +0000 |
commit | 72f2eca287ec08dcc32adbf1bb6756b5b97b6f34 (patch) | |
tree | 860588553d2e8bd99962c4b99be8362e0d36b667 /MdeModulePkg | |
parent | 28401a651c65cc3004fbd5a6e9f56fd89c41dbb4 (diff) | |
download | edk2-72f2eca287ec08dcc32adbf1bb6756b5b97b6f34.tar.gz edk2-72f2eca287ec08dcc32adbf1bb6756b5b97b6f34.tar.bz2 edk2-72f2eca287ec08dcc32adbf1bb6756b5b97b6f34.zip |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c index 0cda8a86d4..d265a25ec9 100644 --- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c +++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c @@ -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.
//
|