From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/parse_logic.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'plugins/Variables/src/parse_logic.cpp') diff --git a/plugins/Variables/src/parse_logic.cpp b/plugins/Variables/src/parse_logic.cpp index 08bdfa9c6c..c06d8445a9 100644 --- a/plugins/Variables/src/parse_logic.cpp +++ b/plugins/Variables/src/parse_logic.cpp @@ -32,11 +32,11 @@ static TCHAR *parseAnd(ARGUMENTSINFO *ai) if (fi.eCount > 0) { ai->flags |= AIF_FALSE; - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } } - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } static TCHAR *parseFalse(ARGUMENTSINFO *ai) @@ -45,7 +45,7 @@ static TCHAR *parseFalse(ARGUMENTSINFO *ai) return NULL; ai->flags |= AIF_FALSE; - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } static TCHAR *parseIf(ARGUMENTSINFO *ai) @@ -166,7 +166,7 @@ static TCHAR *parseFor(ARGUMENTSINFO *ai) if (ai->argc != 5) return NULL; - TCHAR *res = mir_tstrdup(_T("")); + TCHAR *res = mir_tstrdup(L""); FORMATINFO fi; memcpy(&fi, ai->fi, sizeof(fi)); @@ -209,7 +209,7 @@ static TCHAR *parseEqual(ARGUMENTSINFO *ai) if (ttoi(ai->targv[1]) != ttoi(ai->targv[2])) ai->flags |= AIF_FALSE; - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } static TCHAR *parseGreater(ARGUMENTSINFO *ai) @@ -220,7 +220,7 @@ static TCHAR *parseGreater(ARGUMENTSINFO *ai) if (ttoi(ai->targv[1]) <= ttoi(ai->targv[2])) ai->flags |= AIF_FALSE; - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } static TCHAR *parseLonger(ARGUMENTSINFO *ai) @@ -231,7 +231,7 @@ static TCHAR *parseLonger(ARGUMENTSINFO *ai) if (mir_tstrlen(ai->targv[1]) <= mir_tstrlen(ai->targv[2])) ai->flags |= AIF_FALSE; - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } static TCHAR *parseNot(ARGUMENTSINFO *ai) @@ -248,7 +248,7 @@ static TCHAR *parseNot(ARGUMENTSINFO *ai) if (fi.eCount == 0) ai->flags |= AIF_FALSE; - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } static TCHAR *parseOr(ARGUMENTSINFO *ai) @@ -268,12 +268,12 @@ static TCHAR *parseOr(ARGUMENTSINFO *ai) ai->flags &= ~AIF_FALSE; } - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } static TCHAR *parseTrue(ARGUMENTSINFO *ai) { - return (ai->argc != 1) ? NULL : mir_tstrdup(_T("")); + return (ai->argc != 1) ? NULL : mir_tstrdup(L""); } static TCHAR *parseXor(ARGUMENTSINFO *ai) @@ -293,7 +293,7 @@ static TCHAR *parseXor(ARGUMENTSINFO *ai) int val2 = fi.eCount == 0; ai->flags |= ((val1 & AIF_FALSE) == !(val2 & AIF_FALSE)) ? 0 : AIF_FALSE; - return mir_tstrdup(_T("")); + return mir_tstrdup(L""); } void registerLogicTokens() -- cgit v1.2.3