summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index 364bc9d021..bb9514c315 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -877,11 +877,6 @@ SetupBrowser (
do {
//
- // Displays the Header and Footer borders
- //
- DisplayPageFrame ();
-
- //
// Initialize Selection->Form
//
if (Selection->FormId == 0) {
@@ -912,6 +907,11 @@ SetupBrowser (
}
//
+ // Displays the Header and Footer borders
+ //
+ DisplayPageFrame ();
+
+ //
// Display form
//
Status = DisplayForm (Selection);