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/AuthState/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/AuthState/src/main.cpp') diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp index 08e9f96cb1..e5eef4db77 100644 --- a/plugins/AuthState/src/main.cpp +++ b/plugins/AuthState/src/main.cpp @@ -143,9 +143,9 @@ int onPrebuildContactMenu(WPARAM hContact, LPARAM) return 0; if (db_get_b((MCONTACT)hContact, "AuthState", "ShowIcons", 1)) - Menu_ModifyItem(hUserMenu, LPGENT("Disable AuthState icons")); + Menu_ModifyItem(hUserMenu, LPGENW("Disable AuthState icons")); else - Menu_ModifyItem(hUserMenu, LPGENT("Enable AuthState icons")); + Menu_ModifyItem(hUserMenu, LPGENW("Enable AuthState icons")); Menu_ShowItem(hUserMenu, db_get_b((MCONTACT)hContact, proto, "Auth", 0) || db_get_b((MCONTACT)hContact, proto, "Grant", 0) || !db_get_dw((MCONTACT)hContact, proto, "ServerId", 0)); return 0; @@ -181,7 +181,7 @@ extern "C" int __declspec(dllexport) Load(void) SET_UID(mi, 0xc5a784ea, 0x8b07, 0x4b95, 0xa2, 0xb2, 0x84, 0x9d, 0x87, 0x43, 0x7e, 0xda); mi.position = -1999901005; mi.flags = CMIF_TCHAR; - mi.name.t = LPGENT("Enable AuthState icons"); + mi.name.w = LPGENW("Enable AuthState icons"); mi.pszService = "AuthState/MenuItem"; hUserMenu = Menu_AddContactMenuItem(&mi); -- cgit v1.2.3