Author: hbelusca
Date: Sat May 13 16:23:08 2017
New Revision: 74530
URL:
http://svn.reactos.org/svn/reactos?rev=74530&view=rev
Log:
[USETUP]: Code formatting only.
Modified:
branches/setup_improvements/base/setup/usetup/interface/usetup.c
Modified: branches/setup_improvements/base/setup/usetup/interface/usetup.c
URL:
http://svn.reactos.org/svn/reactos/branches/setup_improvements/base/setup/u…
==============================================================================
--- branches/setup_improvements/base/setup/usetup/interface/usetup.c [iso-8859-1]
(original)
+++ branches/setup_improvements/base/setup/usetup/interface/usetup.c [iso-8859-1] Sat May
13 16:23:08 2017
@@ -1604,32 +1604,32 @@
}
else if (PartitionList->CurrentPartition->LogicalPartition)
{
- if (PartitionList->CurrentPartition->IsPartitioned)
- {
- CONSOLE_SetStatusText(MUIGetString(STRING_DELETEPARTITION));
- }
- else
- {
- CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLCREATELOGICAL));
- }
+ if (PartitionList->CurrentPartition->IsPartitioned)
+ {
+ CONSOLE_SetStatusText(MUIGetString(STRING_DELETEPARTITION));
+ }
+ else
+ {
+ CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLCREATELOGICAL));
+ }
}
else
{
- if (PartitionList->CurrentPartition->IsPartitioned)
- {
- if
(IsContainerPartition(PartitionList->CurrentPartition->PartitionType))
- {
- CONSOLE_SetStatusText(MUIGetString(STRING_DELETEPARTITION));
- }
- else
- {
- CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLDELETEPARTITION));
- }
- }
- else
- {
- CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLCREATEPARTITION));
- }
+ if (PartitionList->CurrentPartition->IsPartitioned)
+ {
+ if
(IsContainerPartition(PartitionList->CurrentPartition->PartitionType))
+ {
+ CONSOLE_SetStatusText(MUIGetString(STRING_DELETEPARTITION));
+ }
+ else
+ {
+ CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLDELETEPARTITION));
+ }
+ }
+ else
+ {
+ CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLCREATEPARTITION));
+ }
}
CONSOLE_ConInKey(Ir);
@@ -1661,7 +1661,7 @@
else if (Ir->Event.KeyEvent.wVirtualKeyCode == VK_RETURN) /* ENTER */
{
if
(IsContainerPartition(PartitionList->CurrentPartition->PartitionType))
- continue; //return SELECT_PARTITION_PAGE;
+ continue; // return SELECT_PARTITION_PAGE;
if (PartitionList->CurrentPartition == NULL ||
PartitionList->CurrentPartition->IsPartitioned == FALSE)
@@ -2674,7 +2674,7 @@
DiskEntry = PartitionList->TempDisk;
PartEntry = PartitionList->TempPartition;
- /* adjust disk size */
+ /* Adjust disk size */
DiskSize = DiskEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector;
if (DiskSize >= 10737418240) /* 10 GB */
{
@@ -2687,7 +2687,7 @@
DiskUnit = MUIGetString(STRING_MB);
}
- /* adjust partition size */
+ /* Adjust partition size */
PartSize = PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector;
if (PartSize >= 10737418240) /* 10 GB */
{
@@ -2700,7 +2700,7 @@
PartUnit = MUIGetString(STRING_MB);
}
- /* adjust partition type */
+ /* Adjust partition type */
GetPartTypeStringFromPartitionType(PartEntry->PartitionType,
PartTypeString,
ARRAYSIZE(PartTypeString));
@@ -2728,7 +2728,6 @@
CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_PARTFORMAT));
-
PartEntry->AutoCreate = FALSE;
}
else if (PartEntry->New == TRUE)
@@ -2853,7 +2852,7 @@
{
if (!FileSystemList->Selected->FormatFunc)
{
- return SELECT_FILE_SYSTEM_PAGE;
+ return SELECT_FILE_SYSTEM_PAGE;
}
else
{