diff options
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;
|