From 428bf0cbd77813a43094cb5c984436deff251936 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jul 2016 12:36:34 +0000 Subject: no more TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index 20026bb8bc..d997ab744e 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -132,11 +132,11 @@ int ModulesLoaded(WPARAM, LPARAM) // Register hotkeys _A2T text(modFullname); HOTKEYDESC hkd = { sizeof(hkd) }; - hkd.dwFlags = HKD_TCHAR; + hkd.dwFlags = HKD_UNICODE; hkd.pszName = "hk_dbepp_open"; hkd.pszService = "DBEditorpp/MenuCommand"; - hkd.ptszDescription = LPGENW("Open Database Editor"); - hkd.ptszSection = text; + hkd.pwszDescription = LPGENW("Open Database Editor"); + hkd.pwszSection = text; hkd.DefHotKey = HOTKEYCODE(HOTKEYF_SHIFT | HOTKEYF_EXT, 'D'); Hotkey_Register(&hkd); @@ -529,7 +529,7 @@ void loadListSettings(HWND hwnd, ColumnsSettings *cs) sLC.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH; int i = 0; while (cs[i].name) { - sLC.pszText = TranslateTS(cs[i].name); + sLC.pszText = TranslateW(cs[i].name); sLC.cx = db_get_w(NULL, modname, cs[i].dbname, cs[i].defsize); ListView_InsertColumn(hwnd, cs[i].index, &sLC); i++; -- cgit v1.2.3