mirror of https://github.com/acidanthera/audk.git
Correct the patch in r9367.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9371 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
69533312bf
commit
a19ad64bf0
|
@ -137,10 +137,10 @@ UpdateFileExplorer (
|
||||||
NewMenuEntry = BOpt_GetMenuEntry (&DirectoryMenu, FileOptionMask);
|
NewMenuEntry = BOpt_GetMenuEntry (&DirectoryMenu, FileOptionMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
CallbackData->FeDisplayContext = FileExplorerDisplayDirectory;
|
NewFileContext = (BM_FILE_CONTEXT *) NewMenuEntry->VariableContext;
|
||||||
|
|
||||||
if (NewFileContext->IsDir ) {
|
if (NewFileContext->IsDir ) {
|
||||||
NewFileContext = (BM_FILE_CONTEXT *) NewMenuEntry->VariableContext;
|
CallbackData->FeDisplayContext = FileExplorerDisplayDirectory;
|
||||||
|
|
||||||
RemoveEntryList (&NewMenuEntry->Link);
|
RemoveEntryList (&NewMenuEntry->Link);
|
||||||
BOpt_FreeMenu (&DirectoryMenu);
|
BOpt_FreeMenu (&DirectoryMenu);
|
||||||
|
|
Loading…
Reference in New Issue