Update select highlight menu logic when opcode is date/time

Signed-off-by: ydong10
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12720 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2011-11-16 05:09:36 +00:00
parent de4b64f714
commit 85aa96cd54
1 changed files with 4 additions and 0 deletions

View File

@ -2484,6 +2484,10 @@ UiDisplayMenu (
}
if (Link != NewPos || Index > BottomRow || (Link == NewPos && SavedMenuOption->Row + SavedMenuOption->Skip - 1 > BottomRow)) {
//
// Find the MenuOption which has the skip value for Date/Time opcode.
//
AdjustDateAndTimePosition(FALSE, &NewPos);
//
// NewPos is not in the current page, simply scroll page so that NewPos is in the end of the page
//