[USETUP] Minor code formatting only.

svn path=/branches/setup_improvements/; revision=75517
This commit is contained in:
Hermès Bélusca-Maïto 2017-08-09 20:29:07 +00:00
parent cf2571de6e
commit 3f04856f68
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -148,7 +148,7 @@ DrawBox(IN SHORT xLeft,
COORD coPos; COORD coPos;
DWORD Written; DWORD Written;
/* draw upper left corner */ /* Draw upper left corner */
coPos.X = xLeft; coPos.X = xLeft;
coPos.Y = yTop; coPos.Y = yTop;
FillConsoleOutputCharacterA(StdOutput, FillConsoleOutputCharacterA(StdOutput,
@ -157,7 +157,7 @@ DrawBox(IN SHORT xLeft,
coPos, coPos,
&Written); &Written);
/* draw upper edge */ /* Draw upper edge */
coPos.X = xLeft + 1; coPos.X = xLeft + 1;
coPos.Y = yTop; coPos.Y = yTop;
FillConsoleOutputCharacterA(StdOutput, FillConsoleOutputCharacterA(StdOutput,
@ -166,7 +166,7 @@ DrawBox(IN SHORT xLeft,
coPos, coPos,
&Written); &Written);
/* draw upper right corner */ /* Draw upper right corner */
coPos.X = xLeft + Width - 1; coPos.X = xLeft + Width - 1;
coPos.Y = yTop; coPos.Y = yTop;
FillConsoleOutputCharacterA(StdOutput, FillConsoleOutputCharacterA(StdOutput,
@ -200,7 +200,7 @@ DrawBox(IN SHORT xLeft,
&Written); &Written);
} }
/* draw lower left corner */ /* Draw lower left corner */
coPos.X = xLeft; coPos.X = xLeft;
coPos.Y = yTop + Height - 1; coPos.Y = yTop + Height - 1;
FillConsoleOutputCharacterA(StdOutput, FillConsoleOutputCharacterA(StdOutput,
@ -209,7 +209,7 @@ DrawBox(IN SHORT xLeft,
coPos, coPos,
&Written); &Written);
/* draw lower edge */ /* Draw lower edge */
coPos.X = xLeft + 1; coPos.X = xLeft + 1;
coPos.Y = yTop + Height - 1; coPos.Y = yTop + Height - 1;
FillConsoleOutputCharacterA(StdOutput, FillConsoleOutputCharacterA(StdOutput,
@ -218,7 +218,7 @@ DrawBox(IN SHORT xLeft,
coPos, coPos,
&Written); &Written);
/* draw lower right corner */ /* Draw lower right corner */
coPos.X = xLeft + Width - 1; coPos.X = xLeft + Width - 1;
coPos.Y = yTop + Height - 1; coPos.Y = yTop + Height - 1;
FillConsoleOutputCharacterA(StdOutput, FillConsoleOutputCharacterA(StdOutput,
@ -4652,11 +4652,11 @@ BootLoaderPage(PINPUT_RECORD Ir)
CONSOLE_NormalTextXY(8, Line, 60, 1); CONSOLE_NormalTextXY(8, Line, 60, 1);
Line++; Line++;
if (Line<12) if (Line < 12)
Line=15; Line = 15;
if (Line>15) if (Line > 15)
Line=12; Line = 12;
CONSOLE_InvertTextXY(8, Line, 60, 1); CONSOLE_InvertTextXY(8, Line, 60, 1);
} }
@ -4666,11 +4666,11 @@ BootLoaderPage(PINPUT_RECORD Ir)
CONSOLE_NormalTextXY(8, Line, 60, 1); CONSOLE_NormalTextXY(8, Line, 60, 1);
Line--; Line--;
if (Line<12) if (Line < 12)
Line=15; Line = 15;
if (Line>15) if (Line > 15)
Line=12; Line = 12;
CONSOLE_InvertTextXY(8, Line, 60, 1); CONSOLE_InvertTextXY(8, Line, 60, 1);
} }