summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msglog.cpp
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 /plugins/TabSRMM/src/msglog.cpp
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 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index f9cf7e864a..67f7fb0733 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -354,9 +354,9 @@ static TCHAR* Template_MakeRelativeDate(HANDLE hTimeZone, time_t check, TCHAR co
const TCHAR *szFormat;
if ((code == (TCHAR)'R' || code == (TCHAR)'r') && check >= today)
- _tcscpy(szResult, szToday);
+ mir_tstrcpy(szResult, szToday);
else if ((code == (TCHAR)'R' || code == (TCHAR)'r') && check > (today - 86400))
- _tcscpy(szResult, szYesterday);
+ mir_tstrcpy(szResult, szYesterday);
else {
if (code == 'D' || code == 'R')
szFormat = _T("D");