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:
@@ -526,7 +526,6 @@ UpdateOrderPage (
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT (OptionMenu->MenuNumber <= (sizeof (IfrOptionList) / sizeof (IfrOptionList[0])));
|
|
||||||
for (Index = 0; Index < OptionMenu->MenuNumber; Index++) {
|
for (Index = 0; Index < OptionMenu->MenuNumber; Index++) {
|
||||||
NewMenuEntry = BOpt_GetMenuEntry (OptionMenu, Index);
|
NewMenuEntry = BOpt_GetMenuEntry (OptionMenu, Index);
|
||||||
IfrOptionList[Index].StringToken = NewMenuEntry->DisplayStringToken;
|
IfrOptionList[Index].StringToken = NewMenuEntry->DisplayStringToken;
|
||||||
|
Reference in New Issue
Block a user