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:
qwang12
2008-09-05 01:19:01 +00:00
parent fe7fd57806
commit fed39e580e
2 changed files with 6 additions and 1 deletions

View File

@@ -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)));
}