From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: less TCHARs: - TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AddContactPlus/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/AddContactPlus/src/main.cpp') diff --git a/plugins/AddContactPlus/src/main.cpp b/plugins/AddContactPlus/src/main.cpp index fe3cb37dbe..2e9191ba85 100644 --- a/plugins/AddContactPlus/src/main.cpp +++ b/plugins/AddContactPlus/src/main.cpp @@ -97,7 +97,7 @@ static int OnAccListChanged(WPARAM, LPARAM) mi.position = 500020001; mi.flags = CMIF_TCHAR; mi.hIcolibItem = icon.hIcolib; - mi.name.t = LPGENT("&Add contact..."); + mi.name.w = LPGENW("&Add contact..."); mi.pszService = MS_ADDCONTACTPLUS_SHOW; hMainMenuItem = Menu_AddMainMenuItem(&mi); } @@ -129,8 +129,8 @@ static int OnModulesLoaded(WPARAM, LPARAM) HOTKEYDESC hkd = { sizeof(hkd) }; hkd.dwFlags = HKD_TCHAR; hkd.pszName = "AddContactPlus_OpenDialog"; - hkd.ptszDescription = LPGENT("Open add contact dialog"); - hkd.ptszSection = LPGENT("Main"); + hkd.ptszDescription = LPGENW("Open add contact dialog"); + hkd.ptszSection = LPGENW("Main"); hkd.pszService = MS_ADDCONTACTPLUS_SHOW; hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL | HOTKEYF_SHIFT, 'C') | HKF_MIRANDA_LOCAL; Hotkey_Register(&hkd); -- cgit v1.2.3