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/BossKeyPlus/src/BossKey.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/BossKeyPlus') diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index 0c2766fa25..f9e01c480e 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -551,10 +551,9 @@ void BossKeyMenuItemUnInit(void) // Remove menu item void RegisterCoreHotKeys(void) { HOTKEYDESC hotkey = { 0 }; - hotkey.cbSize = sizeof(HOTKEYDESC); hotkey.pszName = "Hide/Show Miranda"; - hotkey.pszDescription = LPGEN("Hide/Show Miranda"); - hotkey.pszSection = "BossKey"; + hotkey.szDescription.a = LPGEN("Hide/Show Miranda"); + hotkey.szSection.a = "BossKey"; hotkey.pszService = MS_BOSSKEY_HIDE; hotkey.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_F12); -- cgit v1.2.3