https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2e1f594d5e3f25b3aaf2bd6a9ee76a03f5279f0b

commit 2e1f594d5e3f25b3aaf2bd6a9ee76a03f5279f0b
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Mon Apr 22 19:33:20 2019 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Mon Apr 22 19:33:20 2019 +0200

    [FREELDR] Add some missing UiDrawBackdrop() calls.
---
 boot/freeldr/freeldr/disk/ramdisk.c | 1 +
 boot/freeldr/freeldr/linuxboot.c    | 3 +--
 boot/freeldr/freeldr/ntldr/winldr.c | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/boot/freeldr/freeldr/disk/ramdisk.c 
b/boot/freeldr/freeldr/disk/ramdisk.c
index f922452d1b..4b2677a795 100644
--- a/boot/freeldr/freeldr/disk/ramdisk.c
+++ b/boot/freeldr/freeldr/disk/ramdisk.c
@@ -131,6 +131,7 @@ RamDiskLoadVirtualFile(IN PCHAR FileName)
     //
     // Display progress
     //
+    UiDrawBackdrop();
     UiDrawProgressBarCenter(1, 100, MsgBuffer);
 
     //
diff --git a/boot/freeldr/freeldr/linuxboot.c b/boot/freeldr/freeldr/linuxboot.c
index c2c8f97e82..54b16a6282 100644
--- a/boot/freeldr/freeldr/linuxboot.c
+++ b/boot/freeldr/freeldr/linuxboot.c
@@ -83,13 +83,12 @@ LoadAndBootLinux(IN OperatingSystemItem* OperatingSystem,
     PFILE LinuxKernel = 0;
     PFILE LinuxInitrdFile = 0;
 
-    UiDrawBackdrop();
-
     if (Description)
         sprintf(LinuxBootDescription, "Loading %s...", Description);
     else
         strcpy(LinuxBootDescription, "Loading Linux...");
 
+    UiDrawBackdrop();
     UiDrawStatusText(LinuxBootDescription);
     UiDrawProgressBarCenter(0, 100, LinuxBootDescription);
 
diff --git a/boot/freeldr/freeldr/ntldr/winldr.c 
b/boot/freeldr/freeldr/ntldr/winldr.c
index e01c5174ca..e563188bc3 100644
--- a/boot/freeldr/freeldr/ntldr/winldr.c
+++ b/boot/freeldr/freeldr/ntldr/winldr.c
@@ -358,6 +358,7 @@ WinLdrLoadModule(PCSTR ModuleName,
     //CHAR ProgressString[256];
 
     /* Inform user we are loading files */
+    //UiDrawBackdrop();
     //sprintf(ProgressString, "Loading %s...", FileName);
     //UiDrawProgressBarCenter(1, 100, ProgressString);
 

Reply via email to