summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-07-30 17:30:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-07-30 17:30:39 +0300
commit6fad3235de6bec045fec19a7265e19e880ac84e2 (patch)
treeea375f721c2cc7e586142ccd0298b096a7a5b31f /plugins/BossKeyPlus
parent4aab3b6bc3d66ade09b25649d389b8aef358bfbd (diff)
Hotkeys: code cleaning
Diffstat (limited to 'plugins/BossKeyPlus')
-rw-r--r--plugins/BossKeyPlus/src/BossKey.cpp5
1 files changed, 2 insertions, 3 deletions
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);