From 11c185ebb3013230538d4a48656b23bf81d31055 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 May 2015 16:43:34 +0000 Subject: replace _tcscat to mir_tstrcat git-svn-id: http://svn.miranda-ng.org/main/trunk@13778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clc.cpp | 2 +- src/modules/database/database.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') diff --git a/src/modules/clist/clc.cpp b/src/modules/clist/clc.cpp index 4f516367c4..6ab8f89aa0 100644 --- a/src/modules/clist/clc.cpp +++ b/src/modules/clist/clc.cpp @@ -832,7 +832,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, MessageBeep(MB_OK); break; } - _tcscat(dat->szQuickSearch, szNew); + mir_tstrcat(dat->szQuickSearch, szNew); } if (dat->filterSearch) diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index 2f16ad53df..c0106c2678 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -139,12 +139,12 @@ static void loadProfileByShortName(const TCHAR* src, TCHAR *szProfile, size_t cc TCHAR *p = _tcsrchr(buf, '\\'); if (p) ++p; else p = buf; if (!isValidProfileName(buf) && *p) - _tcscat(buf, _T(".dat")); + mir_tstrcat(buf, _T(".dat")); TCHAR profileName[MAX_PATH], newProfileDir[MAX_PATH]; _tcsncpy_s(profileName, p, _TRUNCATE); if (!isValidProfileName(profileName) && *p) - _tcscat(profileName, _T(".dat")); + mir_tstrcat(profileName, _T(".dat")); _tcsncpy_s(profileName, p, _TRUNCATE); p = _tcsrchr(profileName, '.'); if (p) *p = 0; -- cgit v1.2.3