From cad77e7d51aef2c4d938fca592921e14d923f8c5 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 31 Dec 2014 10:37:03 +0000 Subject: minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@11691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewXstatusNotify/src/utils.cpp') 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; -- cgit v1.2.3