diff --git a/ep_gui/GUI.c b/ep_gui/GUI.c index 33159ad..c3fee54 100644 --- a/ep_gui/GUI.c +++ b/ep_gui/GUI.c @@ -1291,7 +1291,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) { diff --git a/ep_gui/GUI.h b/ep_gui/GUI.h index 12f4c55..f964d98 100644 --- a/ep_gui/GUI.h +++ b/ep_gui/GUI.h @@ -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;