[USETUP] Code formatting only.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 13 May 2017 16:23:08 +0000 (16:23 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 26 May 2018 17:09:35 +0000 (19:09 +0200)
svn path=/branches/setup_improvements/; revision=74530

base/setup/usetup/usetup.c

index d29f15d..8c80812 100644 (file)
@@ -1605,32 +1605,32 @@ SelectPartitionPage(PINPUT_RECORD Ir)
         }
         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);
@@ -1662,7 +1662,7 @@ SelectPartitionPage(PINPUT_RECORD Ir)
         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)
@@ -2741,7 +2741,7 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
     DiskEntry = PartitionList->TempDisk;
     PartEntry = PartitionList->TempPartition;
 
-    /* adjust disk size */
+    /* Adjust disk size */
     DiskSize = DiskEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector;
     if (DiskSize >= 10737418240) /* 10 GB */
     {
@@ -2754,7 +2754,7 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
         DiskUnit = MUIGetString(STRING_MB);
     }
 
-    /* adjust partition size */
+    /* Adjust partition size */
     PartSize = PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector;
     if (PartSize >= 10737418240) /* 10 GB */
     {
@@ -2767,7 +2767,7 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
         PartUnit = MUIGetString(STRING_MB);
     }
 
-    /* adjust partition type */
+    /* Adjust partition type */
     GetPartTypeStringFromPartitionType(PartEntry->PartitionType,
                                        PartTypeString,
                                        ARRAYSIZE(PartTypeString));
@@ -2795,7 +2795,6 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
 
         CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_PARTFORMAT));
 
-
         PartEntry->AutoCreate = FALSE;
     }
     else if (PartEntry->New != FALSE)
@@ -2920,7 +2919,7 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
         {
             if (!FileSystemList->Selected->FormatFunc)
             {
-                  return SELECT_FILE_SYSTEM_PAGE;
+                return SELECT_FILE_SYSTEM_PAGE;
             }
             else
             {