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
//\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