From a19ad64bf02e21f93cb716eec54a412cc3ca6e3b Mon Sep 17 00:00:00 2001 From: xdu2 Date: Mon, 26 Oct 2009 08:35:38 +0000 Subject: Correct the patch in r9367. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9371 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c index 98dc54c..26a2764 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c @@ -137,10 +137,10 @@ UpdateFileExplorer ( NewMenuEntry = BOpt_GetMenuEntry (&DirectoryMenu, FileOptionMask); } - CallbackData->FeDisplayContext = FileExplorerDisplayDirectory; + NewFileContext = (BM_FILE_CONTEXT *) NewMenuEntry->VariableContext; if (NewFileContext->IsDir ) { - NewFileContext = (BM_FILE_CONTEXT *) NewMenuEntry->VariableContext; + CallbackData->FeDisplayContext = FileExplorerDisplayDirectory; RemoveEntryList (&NewMenuEntry->Link); BOpt_FreeMenu (&DirectoryMenu); -- cgit v1.1