summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
commitc09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch)
tree9b1b1447755b03dc6fcb327b027789b415e3119f /protocols/IcqOscarJ/src
parentbabf7873a3fe373d60ef22b1b671d98e014d8819 (diff)
replace _tcscpy to mir_tstrcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src')
-rw-r--r--protocols/IcqOscarJ/src/icq_avatar.cpp6
-rw-r--r--protocols/IcqOscarJ/src/icq_xstatus.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/protocols/IcqOscarJ/src/icq_avatar.cpp b/protocols/IcqOscarJ/src/icq_avatar.cpp
index 81ace619cb..6854c4acba 100644
--- a/protocols/IcqOscarJ/src/icq_avatar.cpp
+++ b/protocols/IcqOscarJ/src/icq_avatar.cpp
@@ -94,19 +94,19 @@ void CIcqProto::GetAvatarFileName(int dwUin, const char *szUid, TCHAR *pszDest,
_ltot(dwUin, pszDest + tPathLen, 10);
else if (szUid) {
TCHAR* p = mir_a2t(szUid);
- _tcscpy(pszDest + tPathLen, p);
+ mir_tstrcpy(pszDest + tPathLen, p);
mir_free(p);
}
else {
TCHAR szBuf[MAX_PATH];
if (CallService(MS_DB_GETPROFILENAMET, MAX_PATH, (LPARAM)szBuf))
- _tcscpy(pszDest + tPathLen, _T("avatar"));
+ mir_tstrcpy(pszDest + tPathLen, _T("avatar"));
else {
TCHAR *szLastDot = _tcsrchr(szBuf, '.');
if (szLastDot)
szLastDot[0] = '\0';
- _tcscpy(pszDest + tPathLen, szBuf);
+ mir_tstrcpy(pszDest + tPathLen, szBuf);
_tcscat(pszDest + tPathLen, _T("_avt"));
}
}
diff --git a/protocols/IcqOscarJ/src/icq_xstatus.cpp b/protocols/IcqOscarJ/src/icq_xstatus.cpp
index 7d2aa51625..ee19586cbe 100644
--- a/protocols/IcqOscarJ/src/icq_xstatus.cpp
+++ b/protocols/IcqOscarJ/src/icq_xstatus.cpp
@@ -122,15 +122,15 @@ static HANDLE LoadXStatusIconLibrary(TCHAR *path, const TCHAR *sub)
TCHAR* p = _tcsrchr(path, '\\');
HANDLE hLib;
- _tcscpy(p, sub);
+ mir_tstrcpy(p, sub);
_tcscat(p, _T("\\xstatus_ICQ.dll"));
if (hLib = LoadLibrary(path))
return hLib;
- _tcscpy(p, sub);
+ mir_tstrcpy(p, sub);
_tcscat(p, _T("\\xstatus_icons.dll"));
if (hLib = LoadLibrary(path))
return hLib;
- _tcscpy(p, _T("\\"));
+ mir_tstrcpy(p, _T("\\"));
return hLib;
}