rename stuff

This commit is contained in:
freedom
2023-08-11 17:47:48 -06:00
parent a4f7046760
commit f8578360f8
3 changed files with 10 additions and 7 deletions

View File

@@ -174,14 +174,14 @@ GROUP SaveGroup(PGROUPWND pgw)
.dwSignature = GRP_SIGNATURE,
.wVersion = GRP_VERSION,
.wChecksum = 0,
.szGroupName = L"",
.szName = L"",
.dwFlags = 0,
.ftLastWrite = 0,
.cItems = 0,
.iItems = NULL
};
HWND hWndGrp;
WCHAR szName[MAX_TITLE_LENGTH];
WCHAR szGroupName[MAX_TITLE_LENGTH];
// Find the group and copy it
grp = *pgw->pGroup;
@@ -193,8 +193,8 @@ GROUP SaveGroup(PGROUPWND pgw)
grp.wChecksum = 1; // NOTE: implement this for real later lol
// Copy group information
GetWindowText(hWndGrp, szName, MAX_TITLE_LENGTH);
StringCchCopy(grp.szGroupName, MAX_TITLE_LENGTH, szName);
GetWindowText(hWndGrp, szGroupName, MAX_TITLE_LENGTH);
StringCchCopy(grp.szName, MAX_TITLE_LENGTH, szGroupName);
grp.dwFlags = GetGroupFlags(pgw);