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/Variables/src/parse_metacontacts.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Variables/src/parse_metacontacts.cpp') diff --git a/plugins/Variables/src/parse_metacontacts.cpp b/plugins/Variables/src/parse_metacontacts.cpp index 71ab1c08a6..ac1185edb3 100644 --- a/plugins/Variables/src/parse_metacontacts.cpp +++ b/plugins/Variables/src/parse_metacontacts.cpp @@ -19,7 +19,7 @@ #include "stdafx.h" -static TCHAR *parseGetParent(ARGUMENTSINFO *ai) +static wchar_t *parseGetParent(ARGUMENTSINFO *ai) { if (ai->argc != 2) return NULL; @@ -39,7 +39,7 @@ static TCHAR *parseGetParent(ARGUMENTSINFO *ai) if (szUniqueID == NULL) { szProto = PROTOID_HANDLE; - TCHAR tszID[40]; + wchar_t tszID[40]; mir_sntprintf(tszID, L"%p", hContact); szUniqueID = mir_tstrdup(tszID); } @@ -47,7 +47,7 @@ static TCHAR *parseGetParent(ARGUMENTSINFO *ai) return CMString(FORMAT, L"<%S:%s>", szProto, szUniqueID).Detach(); } -static TCHAR *parseGetDefault(ARGUMENTSINFO *ai) +static wchar_t *parseGetDefault(ARGUMENTSINFO *ai) { if (ai->argc != 2) return NULL; @@ -67,7 +67,7 @@ static TCHAR *parseGetDefault(ARGUMENTSINFO *ai) if (szUniqueID == NULL) { szProto = PROTOID_HANDLE; - TCHAR tszID[40]; + wchar_t tszID[40]; mir_sntprintf(tszID, L"%p", hContact); szUniqueID = mir_tstrdup(tszID); } @@ -75,7 +75,7 @@ static TCHAR *parseGetDefault(ARGUMENTSINFO *ai) return CMString(FORMAT, L"<%S:%s>", szProto, szUniqueID).Detach(); } -static TCHAR *parseGetMostOnline(ARGUMENTSINFO *ai) +static wchar_t *parseGetMostOnline(ARGUMENTSINFO *ai) { if (ai->argc != 2) return NULL; @@ -95,7 +95,7 @@ static TCHAR *parseGetMostOnline(ARGUMENTSINFO *ai) if (szUniqueID == NULL) { szProto = PROTOID_HANDLE; - TCHAR tszID[40]; + wchar_t tszID[40]; mir_sntprintf(tszID, L"%p", hContact); szUniqueID = mir_tstrdup(tszID); } -- cgit v1.2.3