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/MimCmd/src/commands.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/MimCmd') 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]; -- cgit v1.2.3