summaryrefslogtreecommitdiff
path: root/plugins/AddContactPlus
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AddContactPlus')
-rw-r--r--plugins/AddContactPlus/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AddContactPlus/src/main.cpp b/plugins/AddContactPlus/src/main.cpp
index 937be49216..1326ab1206 100644
--- a/plugins/AddContactPlus/src/main.cpp
+++ b/plugins/AddContactPlus/src/main.cpp
@@ -126,11 +126,11 @@ static int CreateButton(WPARAM, LPARAM)
static int OnModulesLoaded(WPARAM, LPARAM)
{
- HOTKEYDESC hkd = { sizeof(hkd) };
+ HOTKEYDESC hkd = {};
hkd.dwFlags = HKD_UNICODE;
hkd.pszName = "AddContactPlus_OpenDialog";
- hkd.pwszDescription = LPGENW("Open add contact dialog");
- hkd.pwszSection = LPGENW("Main");
+ hkd.szDescription.w = LPGENW("Open add contact dialog");
+ hkd.szSection.w = LPGENW("Main");
hkd.pszService = MS_ADDCONTACTPLUS_SHOW;
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL | HOTKEYF_SHIFT, 'C') | HKF_MIRANDA_LOCAL;
Hotkey_Register(&hkd);