summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/variables.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
commit8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch)
tree94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/Variables/src/variables.cpp
parent1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff)
hello, Unix.
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/variables.cpp')
-rw-r--r--plugins/Variables/src/variables.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Variables/src/variables.cpp b/plugins/Variables/src/variables.cpp
index 1111ddae0c..83c34b279a 100644
--- a/plugins/Variables/src/variables.cpp
+++ b/plugins/Variables/src/variables.cpp
@@ -78,7 +78,7 @@ TCHAR* getArguments(TCHAR *string, TArgList &argv)
if (cur > scur)
tszArg = mir_tstrndup(scur + 1, cur - (scur + 1));
if (tszArg == NULL)
- tszArg = mir_tstrdup(_T(""));
+ tszArg = mir_tstrdup(L"");
argv.insert(tszArg);
bNewArg = false;
@@ -145,7 +145,7 @@ static TCHAR* replaceDynVars(FORMATINFO *fi)
continue;
}
// remove end of lines
- else if ((!_tcsncmp(cur, _T("\r\n"), 2)) && (gParseOpts.bStripEOL)) {
+ else if ((!_tcsncmp(cur, L"\r\n", 2)) && (gParseOpts.bStripEOL)) {
memmove(cur, cur + 2, (mir_tstrlen(cur + 2) + 1)*sizeof(TCHAR));
pos = cur - string - 1;
continue;
@@ -158,7 +158,7 @@ static TCHAR* replaceDynVars(FORMATINFO *fi)
// remove comments
else if (!_tcsncmp(cur, _T(COMMENT_STRING), mir_tstrlen(_T(COMMENT_STRING)))) {
TCHAR *scur = cur;
- while (_tcsncmp(cur, _T("\r\n"), 2) && *cur != '\n' && *cur != 0)
+ while (_tcsncmp(cur, L"\r\n", 2) && *cur != '\n' && *cur != 0)
cur++;
if (*cur == 0) {