[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;
DWORD Written;
ULONG Index = 0;
CHAR Buffer[70];
CHAR Buffer[128];
ListEntry = List->ListHead.Flink;
while (ListEntry != &List->ListHead)

View 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;

View 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;

View file

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