From 81af1660759b655e0e65bf2f955ef50e87975a13 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jul 2017 21:40:51 +0300 Subject: minor code cleaning --- plugins/DbEditorPP/src/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/DbEditorPP/src') 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); -- cgit v1.2.3