]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Library / DisplayUpdateProgressLibText / DisplayUpdateProgressLibText.c
index 960a4165fc394cf02af4e640cba42512e89dba07..4823a24d0da312c3566bccefaaee091cc4553cb5 100644 (file)
@@ -86,15 +86,19 @@ DisplayUpdateProgress (
       if (Color->Pixel.Blue >= 0x40) {\r
         mProgressBarForegroundColor |= EFI_BLUE;\r
       }\r
+\r
       if (Color->Pixel.Green >= 0x40) {\r
         mProgressBarForegroundColor |= EFI_GREEN;\r
       }\r
+\r
       if (Color->Pixel.Red >= 0x40) {\r
         mProgressBarForegroundColor |= EFI_RED;\r
       }\r
-      if (Color->Pixel.Blue >= 0xC0 || Color->Pixel.Green >= 0xC0 || Color->Pixel.Red >= 0xC0) {\r
+\r
+      if ((Color->Pixel.Blue >= 0xC0) || (Color->Pixel.Green >= 0xC0) || (Color->Pixel.Red >= 0xC0)) {\r
         mProgressBarForegroundColor |= EFI_BRIGHT;\r
       }\r
+\r
       if (mProgressBarForegroundColor == EFI_BLACK) {\r
         mProgressBarForegroundColor = EFI_WHITE;\r
       }\r
@@ -147,7 +151,7 @@ DisplayUpdateProgress (
   //\r
   // Print remaining portion of progress bar\r
   //\r
-  for (; Index < 50; Index++) {\r
+  for ( ; Index < 50; Index++) {\r
     Print (L"%c", BLOCKELEMENT_LIGHT_SHADE);\r
   }\r
 \r