diff options
Diffstat (limited to 'plugins/MimCmd/src')
-rw-r--r-- | plugins/MimCmd/src/commands.cpp | 10 |
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];
|