]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/DisplayEngine: Return the selectable menu correctly
authorDandan Bi <dandan.bi@intel.com>
Tue, 22 Nov 2016 02:39:38 +0000 (10:39 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 23 Nov 2016 02:11:47 +0000 (10:11 +0800)
commit0265811dbe56cf46fb3c152b2ccdefd8fb47a170
tree6dcf7263e2310a992c85d5d202854302f8b04123
parentb857bf48133933a72f6edcd9bac3214799e093de
MdeModulePkg/DisplayEngine: Return the selectable menu correctly

When returning selectable menu, should return the menu in current form,
the codes miss to do the check. Now returning the selectable menu behind
the codes "if ((UINTN) Distance + NextMenuOption->Skip > GapToTop)".
Then can cover the check, can return the menu correctly.

https://bugzilla.tianocore.org/show_bug.cgi?id=232

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c