diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-25 15:32:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-25 15:32:16 +0300 |
commit | acdaebe9729b0d50168ff51657f1b8220302d82a (patch) | |
tree | 436c55d1add00175ed393dbaebad253da7ccc84c /plugins/Clist_nicer/src | |
parent | 5623e34833d5e973f2c9897cd022d5ca6270904c (diff) |
ME_SYSTEM_MODULELOAD & ME_SYSTEM_MODULEUNLOAD: handier parameter passing
Diffstat (limited to 'plugins/Clist_nicer/src')
-rw-r--r-- | plugins/Clist_nicer/src/CLCButton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/CLCButton.cpp b/plugins/Clist_nicer/src/CLCButton.cpp index aefe2bb6bf..b046a55ffc 100644 --- a/plugins/Clist_nicer/src/CLCButton.cpp +++ b/plugins/Clist_nicer/src/CLCButton.cpp @@ -604,8 +604,8 @@ static int Nicer_CustomizeToolbar(WPARAM, LPARAM) static int Nicer_ReloadToolbar(WPARAM wParam, LPARAM)
{
- PLUGININFOEX *pInfo = (PLUGININFOEX*)wParam;
- if (!_stricmp(pInfo->shortName, "TopToolBar"))
+ auto &pInfo = HPLUGIN(wParam)->getInfo();
+ if (!_stricmp(pInfo.shortName, "TopToolBar"))
TopToolbar_SetCustomProc(CustomizeToolbar, 0);
return 0;
}
|