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 /plugins/SeenPlugin | |
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 'plugins/SeenPlugin')
-rw-r--r-- | plugins/SeenPlugin/src/missed.cpp | 4 | ||||
-rw-r--r-- | plugins/SeenPlugin/src/utils.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SeenPlugin/src/missed.cpp b/plugins/SeenPlugin/src/missed.cpp index 39e925f9bc..267c572a01 100644 --- a/plugins/SeenPlugin/src/missed.cpp +++ b/plugins/SeenPlugin/src/missed.cpp @@ -110,10 +110,10 @@ int ShowMissed(void) _tcsncat(sztemp, (TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, mcs.wpcontact[loop], GCDNF_TCHAR), SIZEOF(sztemp) - mir_tstrlen(sztemp));
if (db_get_b(NULL, S_MOD, "MissedOnes_Count", 0)) {
mir_sntprintf(szcount, SIZEOF(szcount), _T(" [%i]"), mcs.times[loop]);
- _tcscat(sztemp, szcount);
+ mir_tstrcat(sztemp, szcount);
}
- _tcscat(sztemp, _T("\n"));
+ mir_tstrcat(sztemp, _T("\n"));
}
CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_MISSED), NULL, MissedDlgProc, (LPARAM)sztemp);
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index a38aeba407..4f438d27e7 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -161,7 +161,7 @@ TCHAR *ParseString(TCHAR *szstring, MCONTACT hcontact, BYTE isfile) SYSTEMTIME st;
if (!isSeen(hcontact, &st)) {
- _tcscat(sztemp, TranslateT("<never seen>"));
+ mir_tstrcat(sztemp, TranslateT("<never seen>"));
return sztemp;
}
|