diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-21 14:34:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-21 14:34:07 +0300 |
commit | c9b740a178828eae5cc4be7ab054e5f26d3a27e7 (patch) | |
tree | e15ce76cb41feb3375a76c95d861294b899bfe48 /plugins/MenuItemEx | |
parent | 6024e32d70da7a7c703de51e30b6c6407df8a745 (diff) |
MessageWindowEventData: useless structure removed
Diffstat (limited to 'plugins/MenuItemEx')
-rw-r--r-- | plugins/MenuItemEx/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index f30a2b9f97..3684defb91 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -778,12 +778,12 @@ static void TabsrmmButtonsModify(MCONTACT hContact) }
}
-static int ContactWindowOpen(WPARAM, LPARAM lParam)
+static int ContactWindowOpen(WPARAM uType, LPARAM lParam)
{
- MessageWindowEventData *MWeventdata = (MessageWindowEventData*)lParam;
+ auto *pDlg = (CSrmmBaseDialog *)lParam;
- if (MWeventdata->uType == MSG_WINDOW_EVT_OPENING && MWeventdata->hContact)
- TabsrmmButtonsModify(MWeventdata->hContact);
+ if (uType == MSG_WINDOW_EVT_OPENING && pDlg->m_hContact)
+ TabsrmmButtonsModify(pDlg->m_hContact);
return 0;
}
|