summaryrefslogtreecommitdiff
path: root/plugins/Popup
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/Popup
parent4aab3b6bc3d66ade09b25649d389b8aef358bfbd (diff)
Hotkeys: code cleaning
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index 429df0e8f2..9fdd80632a 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -209,17 +209,17 @@ INT_PTR GetStatus(WPARAM, LPARAM)
// register Hotkey
void LoadHotkey()
{
- HOTKEYDESC hk = { sizeof(hk) };
+ HOTKEYDESC hk = {};
hk.dwFlags = HKD_UNICODE;
hk.pszName = "Toggle Popups";
- hk.pwszDescription = LPGENW("Toggle Popups");
- hk.pwszSection = MODULNAME_PLUW;
+ hk.szDescription.w = LPGENW("Toggle Popups");
+ hk.szSection.w = MODULNAME_PLUW;
hk.pszService = MENUCOMMAND_SVC;
Hotkey_Register(&hk);
// 'Popup History' Hotkey
hk.pszName = "Popup History";
- hk.pwszDescription = LPGENW("Popup History");
+ hk.szDescription.w = LPGENW("Popup History");
hk.pszService = MENUCOMMAND_HISTORY;
Hotkey_Register(&hk);
}