[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

@ -109,9 +109,9 @@ static PNTOS_INSTALLATION CurrentInstallation = NULL;
static PGENERIC_LIST NtOsInstallsList = NULL;
static PGENERIC_LIST ComputerList = NULL;
static PGENERIC_LIST DisplayList = NULL;
static PGENERIC_LIST DisplayList = NULL;
static PGENERIC_LIST KeyboardList = NULL;
static PGENERIC_LIST LayoutList = NULL;
static PGENERIC_LIST LayoutList = NULL;
static PGENERIC_LIST LanguageList = NULL;
static LANGID LanguageId = 0;
@ -148,7 +148,7 @@ DrawBox(IN SHORT xLeft,
COORD coPos;
DWORD Written;
/* draw upper left corner */
/* Draw upper left corner */
coPos.X = xLeft;
coPos.Y = yTop;
FillConsoleOutputCharacterA(StdOutput,
@ -157,7 +157,7 @@ DrawBox(IN SHORT xLeft,
coPos,
&Written);
/* draw upper edge */
/* Draw upper edge */
coPos.X = xLeft + 1;
coPos.Y = yTop;
FillConsoleOutputCharacterA(StdOutput,
@ -166,7 +166,7 @@ DrawBox(IN SHORT xLeft,
coPos,
&Written);
/* draw upper right corner */
/* Draw upper right corner */
coPos.X = xLeft + Width - 1;
coPos.Y = yTop;
FillConsoleOutputCharacterA(StdOutput,
@ -200,7 +200,7 @@ DrawBox(IN SHORT xLeft,
&Written);
}
/* draw lower left corner */
/* Draw lower left corner */
coPos.X = xLeft;
coPos.Y = yTop + Height - 1;
FillConsoleOutputCharacterA(StdOutput,
@ -209,7 +209,7 @@ DrawBox(IN SHORT xLeft,
coPos,
&Written);
/* draw lower edge */
/* Draw lower edge */
coPos.X = xLeft + 1;
coPos.Y = yTop + Height - 1;
FillConsoleOutputCharacterA(StdOutput,
@ -218,7 +218,7 @@ DrawBox(IN SHORT xLeft,
coPos,
&Written);
/* draw lower right corner */
/* Draw lower right corner */
coPos.X = xLeft + Width - 1;
coPos.Y = yTop + Height - 1;
FillConsoleOutputCharacterA(StdOutput,
@ -4613,9 +4613,9 @@ BootLoaderPage(PINPUT_RECORD Ir)
}
else if ((PartitionType == PARTITION_FAT_12) ||
(PartitionType == PARTITION_FAT_16) ||
(PartitionType == PARTITION_HUGE) ||
(PartitionType == PARTITION_HUGE) ||
(PartitionType == PARTITION_XINT13) ||
(PartitionType == PARTITION_FAT32) ||
(PartitionType == PARTITION_FAT32) ||
(PartitionType == PARTITION_FAT32_XINT13))
{
DPRINT("Found FAT partition\n");
@ -4652,11 +4652,11 @@ BootLoaderPage(PINPUT_RECORD Ir)
CONSOLE_NormalTextXY(8, Line, 60, 1);
Line++;
if (Line<12)
Line=15;
if (Line < 12)
Line = 15;
if (Line>15)
Line=12;
if (Line > 15)
Line = 12;
CONSOLE_InvertTextXY(8, Line, 60, 1);
}
@ -4666,11 +4666,11 @@ BootLoaderPage(PINPUT_RECORD Ir)
CONSOLE_NormalTextXY(8, Line, 60, 1);
Line--;
if (Line<12)
Line=15;
if (Line < 12)
Line = 15;
if (Line>15)
Line=12;
if (Line > 15)
Line = 12;
CONSOLE_InvertTextXY(8, Line, 60, 1);
}