summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-07-30 21:40:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-07-30 21:40:51 +0300
commit81af1660759b655e0e65bf2f955ef50e87975a13 (patch)
tree3fe4b9669bd6232abb99725ed1fa7560e6f19584 /plugins/DbEditorPP/src
parentd049eb6dd9de7f10469b62e67afc1485d832b0c3 (diff)
minor code cleaning
Diffstat (limited to 'plugins/DbEditorPP/src')
-rw-r--r--plugins/DbEditorPP/src/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp
index 0ec3a08be8..fe31957c25 100644
--- a/plugins/DbEditorPP/src/main.cpp
+++ b/plugins/DbEditorPP/src/main.cpp
@@ -130,13 +130,11 @@ int ModulesLoaded(WPARAM, LPARAM)
hUserMenu = Menu_AddContactMenuItem(&mi);
// Register hotkeys
- _A2T text(modFullname);
HOTKEYDESC hkd = {};
- hkd.dwFlags = HKD_UNICODE;
hkd.pszName = "hk_dbepp_open";
hkd.pszService = "DBEditorpp/MenuCommand";
- hkd.szDescription.w = LPGENW("Open Database Editor");
- hkd.szSection.w = text;
+ hkd.szSection.a = modFullname;
+ hkd.szDescription.a = LPGEN("Open Database Editor");
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_SHIFT | HOTKEYF_EXT, 'D');
Hotkey_Register(&hkd);