diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-19 16:10:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-19 16:10:58 +0000 |
commit | 394540126b181982d8b61d07a084ceeac8559ed1 (patch) | |
tree | 3950c99abcaeb77888271dd5994d96254f0492c6 /plugins/UserInfoEx/dlg_anniversarylist.cpp | |
parent | fe557276119e48389b9a471d5a4ed5d232a2857d (diff) |
- dynamic hotkey translation
- MS_HOTKEY_REGISTER replaced with Hotkey_Register
git-svn-id: http://svn.miranda-ng.org/main/trunk@482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/dlg_anniversarylist.cpp')
-rw-r--r-- | plugins/UserInfoEx/dlg_anniversarylist.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/dlg_anniversarylist.cpp b/plugins/UserInfoEx/dlg_anniversarylist.cpp index a4e24cae9b..60718f5861 100644 --- a/plugins/UserInfoEx/dlg_anniversarylist.cpp +++ b/plugins/UserInfoEx/dlg_anniversarylist.cpp @@ -1129,15 +1129,13 @@ VOID DlgAnniversaryListOnToolBarLoaded() **/
VOID DlgAnniversaryListLoadModule()
{
- HOTKEYDESC hk;
-
myCreateServiceFunction(MS_USERINFO_REMINDER_LIST, DlgAnniversaryListShow);
- ZeroMemory(&hk, sizeof(HOTKEYDESC));
+ HOTKEYDESC hk = { 0 };
hk.cbSize = sizeof(HOTKEYDESC);
hk.pszSection = MODNAME;
hk.pszName = "AnniversaryList";
hk.pszDescription = LPGEN("Popup Anniversary list");
hk.pszService = MS_USERINFO_REMINDER_LIST;
- CallService(MS_HOTKEY_REGISTER, NULL, (LPARAM)&hk);
+ Hotkey_Register(&hk);
}
|