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/YAMN/src | |
parent | 4aab3b6bc3d66ade09b25649d389b8aef358bfbd (diff) |
Hotkeys: code cleaning
Diffstat (limited to 'plugins/YAMN/src')
-rw-r--r-- | plugins/YAMN/src/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index 33498fe920..d13f61a6ba 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -332,12 +332,11 @@ extern "C" int __declspec(dllexport) Load(void) LoadIcons(); LoadPlugins(); - HOTKEYDESC hkd = {0}; - hkd.cbSize = sizeof(hkd); + HOTKEYDESC hkd = {}; hkd.pszName = "YAMN_hotkey"; hkd.pszService = MS_YAMN_FORCECHECK; - hkd.pszSection = YAMN_DBMODULE; - hkd.pszDescription = LPGEN("Check mail"); + hkd.szSection.a = YAMN_DBMODULE; + hkd.szDescription.a = LPGEN("Check mail"); hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_F11); Hotkey_Register(&hkd); |