From b280d2eae93fb22b4fdb45218d8a06287a97030e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 12:49:22 +0000 Subject: replace _tcscmp to mir_tstrcmp git-svn-id: http://svn.miranda-ng.org/main/trunk@13753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/parse_miranda.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Variables/src/parse_miranda.cpp') diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index e0efa6e192..5a682f1fa2 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -420,21 +420,21 @@ static TCHAR* parseProtoInfo(ARGUMENTSINFO *ai) TCHAR *tszRes = NULL; ptrA szProto(mir_t2a(ai->targv[1])); - if (!_tcscmp(ai->targv[2], _T(STR_PINAME))) + if (!mir_tstrcmp(ai->targv[2], _T(STR_PINAME))) tszRes = Hlp_GetProtocolName(szProto); - else if (!_tcscmp(ai->targv[2], _T(STR_PIUIDTEXT))) { + else if (!mir_tstrcmp(ai->targv[2], _T(STR_PIUIDTEXT))) { if (!ProtoServiceExists(szProto, PS_GETCAPS)) return NULL; szRes = (char *)CallProtoService(szProto, PS_GETCAPS, (WPARAM)PFLAG_UNIQUEIDTEXT, 0); } - else if (!_tcscmp(ai->targv[2], _T(STR_PIUIDSETTING))) { + else if (!mir_tstrcmp(ai->targv[2], _T(STR_PIUIDSETTING))) { if (!ProtoServiceExists(szProto, PS_GETCAPS)) return NULL; szRes = (char *)CallProtoService(szProto, PS_GETCAPS, (WPARAM)PFLAG_UNIQUEIDSETTING, 0); } - else if (!_tcscmp(ai->targv[2], _T(STR_PINICK))) { + else if (!mir_tstrcmp(ai->targv[2], _T(STR_PINICK))) { CONTACTINFO ci; ci.cbSize = sizeof(CONTACTINFO); ci.dwFlag = CNF_DISPLAY | CNF_UNICODE; -- cgit v1.2.3