[USETUP]: Enlarge some string buffers that hold localized printf-formatted strings.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 2 Feb 2016 02:23:56 +0000 (02:23 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 2 Feb 2016 02:23:56 +0000 (02:23 +0000)
svn path=/trunk/; revision=70676

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

index a52c87b..2996d04 100644 (file)
@@ -143,7 +143,7 @@ DrawFileSystemList(
     COORD coPos;
     DWORD Written;
     ULONG Index = 0;
-    CHAR Buffer[70];
+    CHAR Buffer[128];
 
     ListEntry = List->ListHead.Flink;
     while (ListEntry != &List->ListHead)
index 709b6f0..c6b0b53 100644 (file)
@@ -626,7 +626,7 @@ GetListEntryText(
 VOID
 GenericListKeyPress(
     PGENERIC_LIST GenericList,
-    CHAR AsciChar)
+    CHAR AsciiChar)
 {
     PGENERIC_LIST_ENTRY ListEntry;
     PGENERIC_LIST_ENTRY OldListEntry;
@@ -637,13 +637,13 @@ GenericListKeyPress(
 
     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 @@ GenericListKeyPress(
 
     for (;;)
     {
-        if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) == AsciChar))
+        if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) == AsciiChar))
         {
             Flag = TRUE;
             break;
index 491b909..326f697 100644 (file)
@@ -1747,7 +1747,7 @@ ShowPartitionSizeInputBox(SHORT Left,
     INPUT_RECORD Ir;
     COORD coPos;
     DWORD Written;
-    CHAR Buffer[100];
+    CHAR Buffer[128];
     WCHAR PartitionSizeBuffer[100];
     ULONG Index;
     WCHAR ch;
index 04c21fa..8a9df44 100644 (file)
@@ -257,7 +257,7 @@ MUIGetString(
 {
     ULONG i;
     const MUI_STRING * entry;
-    CHAR szErr[100];
+    CHAR szErr[128];
 
     entry = FindMUIStringEntries();
     if (entry)