summaryrefslogtreecommitdiff
path: root/plugins/MimCmd/src/commands.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/MimCmd/src/commands.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/MimCmd/src/commands.cpp')
-rw-r--r--plugins/MimCmd/src/commands.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MimCmd/src/commands.cpp b/plugins/MimCmd/src/commands.cpp
index 2d1e1914c3..b9ba0b26ab 100644
--- a/plugins/MimCmd/src/commands.cpp
+++ b/plugins/MimCmd/src/commands.cpp
@@ -40,15 +40,15 @@ int ConnectToMiranda()
TCHAR *p = _tcsrchr(tszPath, '\\');
if (p) p[1] = 0;
- _tcsncat_s(tszPath, _T("libs"), _TRUNCATE);
+ _tcsncat_s(tszPath, L"libs", _TRUNCATE);
DWORD cbPath = (DWORD)_tcslen(tszPath);
- DWORD cbSize = GetEnvironmentVariable(_T("PATH"), NULL, 0);
+ DWORD cbSize = GetEnvironmentVariable(L"PATH", NULL, 0);
TCHAR *ptszVal = new TCHAR[cbSize + MAX_PATH + 2];
_tcscpy(ptszVal, tszPath);
- _tcscat(ptszVal, _T(";"));
- GetEnvironmentVariable(_T("PATH"), ptszVal + cbPath + 1, cbSize);
- SetEnvironmentVariable(_T("PATH"), ptszVal);
+ _tcscat(ptszVal, L";");
+ GetEnvironmentVariable(L"PATH", ptszVal + cbPath + 1, cbSize);
+ SetEnvironmentVariable(L"PATH", ptszVal);
delete[] ptszVal;
char pluginPath[1024];