Skip to content

Commit

Permalink
remove all the +1 ill probably be okay without them
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom7341 committed Oct 22, 2024
1 parent b13ce05 commit 154bed9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions progmgr/group.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down

0 comments on commit 154bed9

Please sign in to comment.