Fix a bug: fail to change Boot Order in Boot Maintenance Manager.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7433 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2009-02-04 11:14:23 +00:00
parent 7c90509158
commit 1360f68ea2
1 changed files with 0 additions and 1 deletions

View File

@ -526,7 +526,6 @@ UpdateOrderPage (
return ;
}
ASSERT (OptionMenu->MenuNumber <= (sizeof (IfrOptionList) / sizeof (IfrOptionList[0])));
for (Index = 0; Index < OptionMenu->MenuNumber; Index++) {
NewMenuEntry = BOpt_GetMenuEntry (OptionMenu, Index);
IfrOptionList[Index].StringToken = NewMenuEntry->DisplayStringToken;