summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/clist/clc.cpp2
-rw-r--r--src/modules/database/database.cpp4
2 files changed, 3 insertions, 3 deletions
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;