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/RecentContacts/src/RecentContacts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/RecentContacts') diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index c707f81ed1..c88932e102 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -532,10 +532,10 @@ static int OnModulesLoaded(WPARAM, LPARAM) LoadDBSettings(); // hotkeys - HOTKEYDESC hk = { sizeof(hk) }; + HOTKEYDESC hk = {}; hk.pszName = msLastUC_ShowList; - hk.pszDescription = LPGEN("Show Recent Contacts"); - hk.pszSection = "Contacts"; + hk.szSection.a = "Contacts"; + hk.szDescription.a = LPGEN("Show Recent Contacts"); hk.pszService = msLastUC_ShowList; hk.DefHotKey = MAKEWORD('R', HOTKEYF_CONTROL | HOTKEYF_SHIFT); Hotkey_Register(&hk); -- cgit v1.2.3