https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3f04856f6845d021a16e95...
commit 3f04856f6845d021a16e9533eaee54638940d817 Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Wed Aug 9 20:29:07 2017 +0000 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Sat Oct 27 03:18:01 2018 +0200
[USETUP] Minor code formatting only.
svn path=/branches/setup_improvements/; revision=75517 --- base/setup/usetup/usetup.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/base/setup/usetup/usetup.c b/base/setup/usetup/usetup.c index 97da4d426a..c87a3fecc8 100644 --- a/base/setup/usetup/usetup.c +++ b/base/setup/usetup/usetup.c @@ -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); }