- [FORMATTING] replace tabs by spaces
authorMarc Piulachs <marc.piulachs@live.com>
Tue, 13 May 2008 11:43:39 +0000 (11:43 +0000)
committerMarc Piulachs <marc.piulachs@live.com>
Tue, 13 May 2008 11:43:39 +0000 (11:43 +0000)
- Modified keyboard layout listbox location to give usetup a more consistent look

svn path=/trunk/; revision=33494

reactos/base/setup/usetup/genlist.c
reactos/base/setup/usetup/interface/usetup.c

index e775b72..6227181 100644 (file)
@@ -288,45 +288,45 @@ static VOID
 DrawScrollBarGenericList(PGENERIC_LIST GenericList)
 {
     COORD coPos;
-       DWORD Written;
+    DWORD Written;
 
     coPos.X = GenericList->Right + 1;
     coPos.Y = GenericList->Top;
 
-       if (GenericList->FirstShown != GenericList->ListHead.Flink)
-       {
+    if (GenericList->FirstShown != GenericList->ListHead.Flink)
+    {
         FillConsoleOutputCharacterA (StdOutput,
                                      '\x18',
                                      1,
                                      coPos,
                                      &Written);
-       }
-       else
-       {
+    }
+    else
+    {
         FillConsoleOutputCharacterA (StdOutput,
                                      ' ',
                                      1,
                                      coPos,
                                      &Written);
-       }
-       
-       coPos.Y = GenericList->Bottom;
-       if (GenericList->LastShown != GenericList->ListHead.Blink)
-       {
+    }
+
+    coPos.Y = GenericList->Bottom;
+    if (GenericList->LastShown != GenericList->ListHead.Blink)
+    {
         FillConsoleOutputCharacterA (StdOutput,
                                      '\x19',
                                      1,
                                      coPos,
                                      &Written);
-       }
-       else
-       {
+    }
+    else
+    {
         FillConsoleOutputCharacterA (StdOutput,
                                      ' ',
                                      1,
                                      coPos,
                                      &Written);
-       }
+    }
 }
 
 VOID
@@ -348,7 +348,7 @@ DrawGenericList(PGENERIC_LIST List,
         return;
 
     DrawListEntries(List);
-       DrawScrollBarGenericList(List);
+    DrawScrollBarGenericList(List);
 }
 
 
@@ -369,8 +369,9 @@ ScrollDownGenericList (PGENERIC_LIST List)
             List->LastShown = List->LastShown->Flink;
         }
         List->CurrentEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry);
+
         DrawListEntries(List);
-               DrawScrollBarGenericList(List);
+        DrawScrollBarGenericList(List);
     }
 }
 
@@ -392,8 +393,9 @@ ScrollUpGenericList (PGENERIC_LIST List)
             List->LastShown = List->LastShown->Blink;
         }
         List->CurrentEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry);
+
         DrawListEntries(List);
-               DrawScrollBarGenericList(List);
+        DrawScrollBarGenericList(List);
     }
 }
 
index 18d9a94..f3c6031 100644 (file)
@@ -1249,7 +1249,7 @@ LayoutSettingsPage(PINPUT_RECORD Ir)
 
     DrawGenericList(LayoutList,
                     2,
-                    15,
+                    18,
                     xScreen - 3,
                     yScreen - 3);