summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src')
-rw-r--r--plugins/FloatingContacts/src/main.cpp8
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);
}