diff --git a/progmgr/group.h b/progmgr/group.h index 0232720..17dc596 100644 --- a/progmgr/group.h +++ b/progmgr/group.h @@ -33,15 +33,15 @@ // Item Structure typedef struct _ITEM { // Item executable and name - WCHAR szName[MAX_TITLE_LENGTH + 1]; - WCHAR szExecPath[MAX_PATH + 1]; // Path of the executable - WCHAR szWorkPath[MAX_PATH + 1]; // Working directory + WCHAR szName[MAX_TITLE_LENGTH]; + WCHAR szExecPath[MAX_PATH]; // Path of the executable + WCHAR szWorkPath[MAX_PATH]; // Working directory // Item flags DWORD dwFlags; // Use with ITM_FLAG_* values. UINT uiHotkeyModifiers; UINT uiHotkeyVirtualKey; // Icon - WCHAR szIconPath[MAX_PATH + 1]; + WCHAR szIconPath[MAX_PATH]; INT iIconIndex; } ITEM, * PITEM; @@ -52,14 +52,14 @@ typedef struct _GROUP { WORD wVersion; // Group format version WORD wChecksum; // Group information - WCHAR szName[MAX_TITLE_LENGTH + 1]; + WCHAR szName[MAX_TITLE_LENGTH]; DWORD dwFlags; // Use with GRP_FLAG_* values. FILETIME ftLastWrite; // Window information RECT rcGroup; WINDOWPLACEMENT wp; // Icon - WCHAR szIconPath[MAX_PATH + 1]; + WCHAR szIconPath[MAX_PATH]; INT iIconIndex; // Items WORD cItemArray; // Number of items in pItemArray