mirror of https://github.com/acidanthera/audk.git
Merge in [EDK 1166]: Form title is not displayed by Setup Browser
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5664 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
55a9663bde
commit
e8e36190f4
|
@ -498,6 +498,8 @@ TheKey2:
|
|||
PrintChar (RIGHT_NUMERIC_DELIMITER);
|
||||
}
|
||||
}
|
||||
|
||||
goto EnterCarriageReturn;
|
||||
break;
|
||||
|
||||
case SCAN_UP:
|
||||
|
|
|
@ -462,7 +462,7 @@ DisplayForm (
|
|||
|
||||
CopyMem (&LocalScreen, &gScreenDimensions, sizeof (EFI_SCREEN_DESCRIPTOR));
|
||||
|
||||
StringPtr = GetToken (Selection->FormSet->FormSetTitle, Handle);
|
||||
StringPtr = GetToken (Selection->Form->FormTitle, Handle);
|
||||
|
||||
if (gClassOfVfr != EFI_FRONT_PAGE_SUBCLASS) {
|
||||
gST->ConOut->SetAttribute (gST->ConOut, TITLE_TEXT | TITLE_BACKGROUND);
|
||||
|
|
|
@ -298,7 +298,7 @@ SendForm (
|
|||
// Initialize internal data structures of FormSet
|
||||
//
|
||||
Status = InitializeFormSet (Selection->Handle, &Selection->FormSetGuid, FormSet);
|
||||
if (EFI_ERROR (Status)) {
|
||||
if (EFI_ERROR (Status) || IsListEmpty (&FormSet->FormListHead)) {
|
||||
DestroyFormSet (FormSet);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue