From 1360f68ea20cd756b7e1521bcaf52638ccf2c4fa Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 4 Feb 2009 11:14:23 +0000 Subject: [PATCH] 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 --- IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c | 1 - 1 file changed, 1 deletion(-) diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c index 4be68a0e06..be47ddfe1e 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c @@ -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;