diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-09-21 08:36:52 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-09-21 08:36:52 +0000 |
commit | cec8996acb962a45d7c0549cd6da73a4625cc070 (patch) | |
tree | e1c724437b6cb5bfd2fd3966733787beefc0e434 /plugins/MimCmd/src | |
parent | 240e066be011bdc5972f0b7ef073b8b4c77daee2 (diff) |
MimCmd; previous commit fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15416 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MimCmd/src')
-rw-r--r-- | plugins/MimCmd/src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MimCmd/src/commands.cpp b/plugins/MimCmd/src/commands.cpp index 11874d19d7..2d1e1914c3 100644 --- a/plugins/MimCmd/src/commands.cpp +++ b/plugins/MimCmd/src/commands.cpp @@ -40,7 +40,7 @@ int ConnectToMiranda() TCHAR *p = _tcsrchr(tszPath, '\\');
if (p) p[1] = 0;
- _tcsncat_s(tszPath, _T("libs"), _countof(tszPath) - mir_tstrlen(tszPath));
+ _tcsncat_s(tszPath, _T("libs"), _TRUNCATE);
DWORD cbPath = (DWORD)_tcslen(tszPath);
DWORD cbSize = GetEnvironmentVariable(_T("PATH"), NULL, 0);
|