Author: mpiulachs
Date: Tue May 13 06:43:39 2008
New Revision: 33494
URL:
http://svn.reactos.org/svn/reactos?rev=33494&view=rev
Log:
- [FORMATTING] replace tabs by spaces
- Modified keyboard layout listbox location to give usetup a more consistent look
Modified:
trunk/reactos/base/setup/usetup/genlist.c
trunk/reactos/base/setup/usetup/interface/usetup.c
Modified: trunk/reactos/base/setup/usetup/genlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/genlist.…
==============================================================================
--- trunk/reactos/base/setup/usetup/genlist.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/genlist.c [iso-8859-1] Tue May 13 06:43:39 2008
@@ -288,45 +288,45 @@
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 @@
return;
DrawListEntries(List);
- DrawScrollBarGenericList(List);
+ DrawScrollBarGenericList(List);
}
@@ -369,8 +369,9 @@
List->LastShown = List->LastShown->Flink;
}
List->CurrentEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry);
+
DrawListEntries(List);
- DrawScrollBarGenericList(List);
+ DrawScrollBarGenericList(List);
}
}
@@ -392,8 +393,9 @@
List->LastShown = List->LastShown->Blink;
}
List->CurrentEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry);
+
DrawListEntries(List);
- DrawScrollBarGenericList(List);
+ DrawScrollBarGenericList(List);
}
}
Modified: trunk/reactos/base/setup/usetup/interface/usetup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] Tue May 13 06:43:39
2008
@@ -1249,7 +1249,7 @@
DrawGenericList(LayoutList,
2,
- 15,
+ 18,
xScreen - 3,
yScreen - 3);