summaryrefslogtreecommitdiff
path: root/src/modules/database
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:43:34 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:43:34 +0000
commit11c185ebb3013230538d4a48656b23bf81d31055 (patch)
tree41f64fdbd3785621cfeb89a2c0d07ea1b2c4427f /src/modules/database
parentf2de79cb2eb8247548650ee80d75be109ac66ee7 (diff)
replace _tcscat to mir_tstrcat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database')
-rw-r--r--src/modules/database/database.cpp4
1 files changed, 2 insertions, 2 deletions
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;