From 6fad3235de6bec045fec19a7265e19e880ac84e2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jul 2017 17:30:39 +0300 Subject: Hotkeys: code cleaning --- plugins/FloatingContacts/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/FloatingContacts/src') 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); } -- cgit v1.2.3