diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 16:43:34 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 16:43:34 +0000 |
commit | 11c185ebb3013230538d4a48656b23bf81d31055 (patch) | |
tree | 41f64fdbd3785621cfeb89a2c0d07ea1b2c4427f /protocols/IcqOscarJ | |
parent | f2de79cb2eb8247548650ee80d75be109ac66ee7 (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 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_avatar.cpp | 4 | ||||
-rw-r--r-- | protocols/IcqOscarJ/src/icq_xstatus.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/src/icq_avatar.cpp b/protocols/IcqOscarJ/src/icq_avatar.cpp index 6854c4acba..d1c9343905 100644 --- a/protocols/IcqOscarJ/src/icq_avatar.cpp +++ b/protocols/IcqOscarJ/src/icq_avatar.cpp @@ -107,7 +107,7 @@ void CIcqProto::GetAvatarFileName(int dwUin, const char *szUid, TCHAR *pszDest, szLastDot[0] = '\0';
mir_tstrcpy(pszDest + tPathLen, szBuf);
- _tcscat(pszDest + tPathLen, _T("_avt"));
+ mir_tstrcat(pszDest + tPathLen, _T("_avt"));
}
}
}
@@ -115,7 +115,7 @@ void CIcqProto::GetAvatarFileName(int dwUin, const char *szUid, TCHAR *pszDest, void AddAvatarExt(int dwFormat, TCHAR *pszDest)
{
const TCHAR *ext = ProtoGetAvatarExtension(dwFormat);
- _tcscat(pszDest, (*ext == 0) ? _T(".dat") : ext);
+ mir_tstrcat(pszDest, (*ext == 0) ? _T(".dat") : ext);
}
#define MD5_BLOCK_SIZE 1024*1024 /* use 1MB blocks */
diff --git a/protocols/IcqOscarJ/src/icq_xstatus.cpp b/protocols/IcqOscarJ/src/icq_xstatus.cpp index ee19586cbe..1b1133c447 100644 --- a/protocols/IcqOscarJ/src/icq_xstatus.cpp +++ b/protocols/IcqOscarJ/src/icq_xstatus.cpp @@ -123,11 +123,11 @@ static HANDLE LoadXStatusIconLibrary(TCHAR *path, const TCHAR *sub) HANDLE hLib;
mir_tstrcpy(p, sub);
- _tcscat(p, _T("\\xstatus_ICQ.dll"));
+ mir_tstrcat(p, _T("\\xstatus_ICQ.dll"));
if (hLib = LoadLibrary(path))
return hLib;
mir_tstrcpy(p, sub);
- _tcscat(p, _T("\\xstatus_icons.dll"));
+ mir_tstrcat(p, _T("\\xstatus_icons.dll"));
if (hLib = LoadLibrary(path))
return hLib;
mir_tstrcpy(p, _T("\\"));
|