diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-31 10:37:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-31 10:37:03 +0000 |
commit | cad77e7d51aef2c4d938fca592921e14d923f8c5 (patch) | |
tree | 84ad3fc6acc8fd0d58d843a1c99002f7f2dedf00 /plugins/NewXstatusNotify/src/utils.cpp | |
parent | 5de1b2c939a26695aaab99540fe3d37527512cb3 (diff) |
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/utils.cpp')
-rw-r--r-- | plugins/NewXstatusNotify/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/utils.cpp b/plugins/NewXstatusNotify/src/utils.cpp index 4d830172e6..c41da2cd63 100644 --- a/plugins/NewXstatusNotify/src/utils.cpp +++ b/plugins/NewXstatusNotify/src/utils.cpp @@ -117,7 +117,7 @@ TCHAR *AddCR(const TCHAR *stzText) while ((found = _tcsstr((stzText + i), _T("\n"))) != NULL && _tcslen(tmp) + 1 < 1024) {
j = (int)(found - stzText);
if (mir_tstrlen(tmp) + j - i + 2 < 1024)
- tmp = _tcsncat(tmp, stzText + i, j - i);
+ tmp = mir_tstrcat(tmp, stzText + i);
else
break;
|