Author: hbelusca
Date: Tue Feb 2 02:23:56 2016
New Revision: 70676
URL:
http://svn.reactos.org/svn/reactos?rev=70676&view=rev
Log:
[USETUP]: Enlarge some string buffers that hold localized printf-formatted strings.
Modified:
trunk/reactos/base/setup/usetup/fslist.c
trunk/reactos/base/setup/usetup/genlist.c
trunk/reactos/base/setup/usetup/interface/usetup.c
trunk/reactos/base/setup/usetup/mui.c
Modified: trunk/reactos/base/setup/usetup/fslist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/fslist.c…
==============================================================================
--- trunk/reactos/base/setup/usetup/fslist.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/fslist.c [iso-8859-1] Tue Feb 2 02:23:56 2016
@@ -143,7 +143,7 @@
COORD coPos;
DWORD Written;
ULONG Index = 0;
- CHAR Buffer[70];
+ CHAR Buffer[128];
ListEntry = List->ListHead.Flink;
while (ListEntry != &List->ListHead)
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 Feb 2 02:23:56 2016
@@ -626,7 +626,7 @@
VOID
GenericListKeyPress(
PGENERIC_LIST GenericList,
- CHAR AsciChar)
+ CHAR AsciiChar)
{
PGENERIC_LIST_ENTRY ListEntry;
PGENERIC_LIST_ENTRY OldListEntry;
@@ -637,13 +637,13 @@
GenericList->Redraw = FALSE;
- if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) ==
AsciChar) &&
+ if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) ==
AsciiChar) &&
(GenericList->CurrentEntry->Entry.Flink !=
&GenericList->ListHead))
{
ScrollDownGenericList(GenericList);
ListEntry = GenericList->CurrentEntry;
- if ((strlen(ListEntry->Text) > 0) &&
(tolower(ListEntry->Text[0]) == AsciChar))
+ if ((strlen(ListEntry->Text) > 0) &&
(tolower(ListEntry->Text[0]) == AsciiChar))
goto End;
}
@@ -654,7 +654,7 @@
for (;;)
{
- if ((strlen(ListEntry->Text) > 0) &&
(tolower(ListEntry->Text[0]) == AsciChar))
+ if ((strlen(ListEntry->Text) > 0) &&
(tolower(ListEntry->Text[0]) == AsciiChar))
{
Flag = TRUE;
break;
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 Feb 2 02:23:56
2016
@@ -1747,7 +1747,7 @@
INPUT_RECORD Ir;
COORD coPos;
DWORD Written;
- CHAR Buffer[100];
+ CHAR Buffer[128];
WCHAR PartitionSizeBuffer[100];
ULONG Index;
WCHAR ch;
Modified: trunk/reactos/base/setup/usetup/mui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/mui.c?re…
==============================================================================
--- trunk/reactos/base/setup/usetup/mui.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/mui.c [iso-8859-1] Tue Feb 2 02:23:56 2016
@@ -257,7 +257,7 @@
{
ULONG i;
const MUI_STRING * entry;
- CHAR szErr[100];
+ CHAR szErr[128];
entry = FindMUIStringEntries();
if (entry)