summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbEditorPP/src/main.cpp')
-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);