MdeModulePkg: Update UiApp to handle terminal type TtyTerm
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18236 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1056,7 +1056,7 @@ UpdateTerminalPage (
|
||||
OptionsOpCodeHandle = HiiAllocateOpCodeHandle ();
|
||||
ASSERT (OptionsOpCodeHandle != NULL);
|
||||
|
||||
for (Index = 0; Index < 4; Index++) {
|
||||
for (Index = 0; Index < sizeof (TerminalType) / sizeof (TerminalType[0]); Index++) {
|
||||
CheckFlags = 0;
|
||||
if (NewTerminalContext->TerminalType == Index) {
|
||||
CheckFlags |= EFI_IFR_OPTION_DEFAULT;
|
||||
|
Reference in New Issue
Block a user