1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-23 23:21:08 +01:00

GUI: Increase buffer size of section names to 64 (#3461)

This commit is contained in:
Amrsatrio 2024-07-15 22:40:04 +07:00
parent 016214a381
commit c69eb5f11a
2 changed files with 99 additions and 99 deletions

View File

@ -1284,7 +1284,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
GUI_SubstituteLocalizedString(text, MAX_LINE_LENGTH);
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)
{

View File

@ -84,7 +84,7 @@ typedef struct _GUI
void* pAccPropServices;
HWND hAccLabel;
BOOL bShouldAnnounceSelected;
WCHAR sectionNames[20][32];
WCHAR sectionNames[20][64];
BOOL bRebuildIfTabOrderIsEmpty;
int dwPageLocation;
DWORD last_section;