- Synchronize up to trunk's revision r57864.
[reactos.git] / boot / freeldr / freeldr / ui / minitui.c
index d38f7a5..e510304 100644 (file)
@@ -14,13 +14,8 @@ VOID MiniTuiDrawBackdrop(VOID)
        //
        // Fill in a black background
        //
-       TuiFillArea(0,
-                   0,
-                   UiScreenWidth - 1,
-                   UiScreenHeight - 1,
-                   0,
-                   0);
-       
+       TuiFillArea(0, 0, UiScreenWidth - 1, UiScreenHeight - 1, 0, 0);
+
        //
        // Update the screen buffer
        //
@@ -93,7 +88,7 @@ MiniTuiDrawMenu(PUI_MENU_INFO MenuInfo)
     //
     UiVtbl.DrawText(0,
                     MenuInfo->Top - 2,
-                    "Please select the operating system to start:",
+                    MenuInfo->MenuTitle,
                     ATTR(UiMenuFgColor, UiMenuBgColor));
 
     //
@@ -101,8 +96,7 @@ MiniTuiDrawMenu(PUI_MENU_INFO MenuInfo)
     //
     UiVtbl.DrawText(0,
                     MenuInfo->Bottom + 1,
-                    "Use the up and down arrow keys to move the highlight to "
-                    "your choice.",
+                    "Use \x18 and \x19 to move the highlight to your choice.",
                     ATTR(UiMenuFgColor, UiMenuBgColor));
     UiVtbl.DrawText(0,
                     MenuInfo->Bottom + 2,
@@ -126,7 +120,11 @@ MiniTuiDrawMenu(PUI_MENU_INFO MenuInfo)
     //
     // Draw each line of the menu
     //
-    for (i = 0; i < MenuInfo->MenuItemCount; i++) TuiDrawMenuItem(MenuInfo, i);
+    for (i = 0; i < MenuInfo->MenuItemCount; i++)
+    {
+        TuiDrawMenuItem(MenuInfo, i);
+    }
+
     VideoCopyOffScreenBufferToVRAM();
 }