mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-28 01:10:55 +01:00
GUI: Increase buffer size of section names to 64 (#3461)
This commit is contained in:
parent
016214a381
commit
c69eb5f11a
@ -1284,7 +1284,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
|
|||||||
GUI_SubstituteLocalizedString(text, MAX_LINE_LENGTH);
|
GUI_SubstituteLocalizedString(text, MAX_LINE_LENGTH);
|
||||||
if (_this->sectionNames[currentSection + 1][0] == 0)
|
if (_this->sectionNames[currentSection + 1][0] == 0)
|
||||||
{
|
{
|
||||||
wcscpy_s(_this->sectionNames[currentSection + 1], 32, text);
|
wcscpy_s(_this->sectionNames[currentSection + 1], 64, text);
|
||||||
}
|
}
|
||||||
if (hDC)
|
if (hDC)
|
||||||
{
|
{
|
||||||
|
@ -84,7 +84,7 @@ typedef struct _GUI
|
|||||||
void* pAccPropServices;
|
void* pAccPropServices;
|
||||||
HWND hAccLabel;
|
HWND hAccLabel;
|
||||||
BOOL bShouldAnnounceSelected;
|
BOOL bShouldAnnounceSelected;
|
||||||
WCHAR sectionNames[20][32];
|
WCHAR sectionNames[20][64];
|
||||||
BOOL bRebuildIfTabOrderIsEmpty;
|
BOOL bRebuildIfTabOrderIsEmpty;
|
||||||
int dwPageLocation;
|
int dwPageLocation;
|
||||||
DWORD last_section;
|
DWORD last_section;
|
||||||
|
Loading…
Reference in New Issue
Block a user