mirror of https://github.com/acidanthera/audk.git
1) Fix a bug in ASSERT condition.
2) Quit the browser when formset displayed is EFI_FRONT_PAGE_SUBCLASS or EFI_SINGLE_USE_SUBCLASS to comply with the Framework Browser behavior. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5826 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fe7fd57806
commit
fed39e580e
|
@ -997,6 +997,11 @@ ThunkCallback (
|
|||
//
|
||||
if (*ActionRequest == EFI_BROWSER_ACTION_REQUEST_NONE && mHiiPackageListUpdated) {
|
||||
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
|
||||
} else {
|
||||
if (ConfigAccess->ThunkContext->FormSetSubClass == EFI_FRONT_PAGE_SUBCLASS ||
|
||||
ConfigAccess->ThunkContext->FormSetSubClass == EFI_SINGLE_USE_SUBCLASS) {
|
||||
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_EXIT;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -61,6 +61,6 @@ FreeHiiHandle (
|
|||
|
||||
Num = (UINT16) Handle;
|
||||
|
||||
ASSERT ((mHandle [Num / 8] & (~(1 << (Num % 8)))) != 0);
|
||||
ASSERT ((mHandle [Num / 8] & (1 << (Num % 8))) != 0);
|
||||
mHandle [Num / 8] &= (~(1 << (Num % 8)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue