diff options
Diffstat (limited to 'plugins/BossKeyPlus/BossKey.cpp')
-rw-r--r-- | plugins/BossKeyPlus/BossKey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BossKeyPlus/BossKey.cpp b/plugins/BossKeyPlus/BossKey.cpp index b0a21ef6d2..8cf8e3cfdc 100644 --- a/plugins/BossKeyPlus/BossKey.cpp +++ b/plugins/BossKeyPlus/BossKey.cpp @@ -659,7 +659,7 @@ void BossKeyMenuItemInit(void) // Add menu item mi.ptszName = _T("Hide");
mi.pszService = MS_BOSSKEY_HIDE;
- g_hMenuItem = (HANDLE)CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&mi);
+ g_hMenuItem = Menu_AddMainMenuItem(&mi);
g_hmGenMenuInit = HookEvent(ME_CLIST_PREBUILDMAINMENU, GenMenuInit);
}
|