]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c
Update the copyright notice format
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / BootMaint / FileExplorer.c
index 98dc54c9399a61d4962a6c956d46e8f1268fda79..dc8896ed987f72f82cea883eda23eb9a4ddb336e 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   File explorer related functions.\r
 \r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -137,10 +137,10 @@ UpdateFileExplorer (
       NewMenuEntry = BOpt_GetMenuEntry (&DirectoryMenu, FileOptionMask);\r
     }\r
 \r
-    CallbackData->FeDisplayContext  = FileExplorerDisplayDirectory;\r
+    NewFileContext                  = (BM_FILE_CONTEXT *) NewMenuEntry->VariableContext;\r
 \r
     if (NewFileContext->IsDir ) {\r
-      NewFileContext = (BM_FILE_CONTEXT *) NewMenuEntry->VariableContext;\r
+      CallbackData->FeDisplayContext = FileExplorerDisplayDirectory;\r
 \r
       RemoveEntryList (&NewMenuEntry->Link);\r
       BOpt_FreeMenu (&DirectoryMenu);\r