diff options
author | George Hazan <ghazan@miranda.im> | 2017-07-30 17:30:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-07-30 17:30:39 +0300 |
commit | 6fad3235de6bec045fec19a7265e19e880ac84e2 (patch) | |
tree | ea375f721c2cc7e586142ccd0298b096a7a5b31f /plugins/FloatingContacts/src/main.cpp | |
parent | 4aab3b6bc3d66ade09b25649d389b8aef358bfbd (diff) |
Hotkeys: code cleaning
Diffstat (limited to 'plugins/FloatingContacts/src/main.cpp')
-rw-r--r-- | plugins/FloatingContacts/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index 50d66b6e0f..9ac311a663 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -739,17 +739,17 @@ static void LoadMenus() hMainMenuItemHideAll = Menu_AddMainMenuItem(&mi);
// Register hotkeys
- HOTKEYDESC hkd = { sizeof(hkd) };
- hkd.pszSection = "Floating Contacts";
+ HOTKEYDESC hkd = {};
+ hkd.szSection.a = "Floating Contacts";
hkd.pszName = MODULE "/MainHideAllThumbs";
- hkd.pszDescription = LPGEN("Show/Hide all thumbs");
+ hkd.szDescription.a = LPGEN("Show/Hide all thumbs");
hkd.pszService = MODULE "/MainHideAllThumbs";
Hotkey_Register(&hkd);
CreateServiceFunction(MODULE "/HideWhenCListShow", OnHotKey_HideWhenCListShow);
hkd.pszName = MODULE "/HideWhenCListShow";
- hkd.pszDescription = LPGEN("Hide when contact list is shown");
+ hkd.szDescription.a = LPGEN("Hide when contact list is shown");
hkd.pszService = MODULE "/HideWhenCListShow";
Hotkey_Register(&hkd);
}
|