[USETUP]: Enlarge some string buffers that hold localized printf-formatted strings.

svn path=/trunk/; revision=70676
This commit is contained in:
Hermès Bélusca-Maïto 2016-02-02 02:23:56 +00:00
parent f2f176a202
commit 81e1b30067
4 changed files with 7 additions and 7 deletions

View file

@ -143,7 +143,7 @@ DrawFileSystemList(
COORD coPos; COORD coPos;
DWORD Written; DWORD Written;
ULONG Index = 0; ULONG Index = 0;
CHAR Buffer[70]; CHAR Buffer[128];
ListEntry = List->ListHead.Flink; ListEntry = List->ListHead.Flink;
while (ListEntry != &List->ListHead) while (ListEntry != &List->ListHead)

View file

@ -626,7 +626,7 @@ GetListEntryText(
VOID VOID
GenericListKeyPress( GenericListKeyPress(
PGENERIC_LIST GenericList, PGENERIC_LIST GenericList,
CHAR AsciChar) CHAR AsciiChar)
{ {
PGENERIC_LIST_ENTRY ListEntry; PGENERIC_LIST_ENTRY ListEntry;
PGENERIC_LIST_ENTRY OldListEntry; PGENERIC_LIST_ENTRY OldListEntry;
@ -637,13 +637,13 @@ GenericListKeyPress(
GenericList->Redraw = FALSE; 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)) (GenericList->CurrentEntry->Entry.Flink != &GenericList->ListHead))
{ {
ScrollDownGenericList(GenericList); ScrollDownGenericList(GenericList);
ListEntry = GenericList->CurrentEntry; 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; goto End;
} }
@ -654,7 +654,7 @@ GenericListKeyPress(
for (;;) for (;;)
{ {
if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) == AsciChar)) if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) == AsciiChar))
{ {
Flag = TRUE; Flag = TRUE;
break; break;

View file

@ -1747,7 +1747,7 @@ ShowPartitionSizeInputBox(SHORT Left,
INPUT_RECORD Ir; INPUT_RECORD Ir;
COORD coPos; COORD coPos;
DWORD Written; DWORD Written;
CHAR Buffer[100]; CHAR Buffer[128];
WCHAR PartitionSizeBuffer[100]; WCHAR PartitionSizeBuffer[100];
ULONG Index; ULONG Index;
WCHAR ch; WCHAR ch;

View file

@ -257,7 +257,7 @@ MUIGetString(
{ {
ULONG i; ULONG i;
const MUI_STRING * entry; const MUI_STRING * entry;
CHAR szErr[100]; CHAR szErr[128];
entry = FindMUIStringEntries(); entry = FindMUIStringEntries();
if (entry) if (entry)