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/NewXstatusNotify/src/main.cpp | |
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/NewXstatusNotify/src/main.cpp')
-rw-r--r-- | plugins/NewXstatusNotify/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index a98bf4b3cf..90acfb1646 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -305,7 +305,7 @@ void GetStatusText(MCONTACT hContact, WORD newStatus, WORD oldStatus, TCHAR *stz if (opt.ShowPreviousStatus) {
TCHAR buff[MAX_STATUSTEXT];
mir_sntprintf(buff, SIZEOF(buff), TranslateTS(STRING_SHOWPREVIOUSSTATUS), StatusList[Index(oldStatus)].lpzStandardText);
- _tcscat(_tcscat(stzStatusText, _T(" ")), buff);
+ mir_tstrcat(mir_tstrcat(stzStatusText, _T(" ")), buff);
}
}
@@ -688,7 +688,7 @@ int ProcessStatusMessage(DBCONTACTWRITESETTING *cws, MCONTACT hContact) copyText = mir_tstrdup(smi.newstatusmsg);
_tcsncpy(buff, smi.newstatusmsg, opt.PSMsgLen);
buff[opt.PSMsgLen] = 0;
- _tcscat(buff, _T("..."));
+ mir_tstrcat(buff, _T("..."));
replaceStrT(smi.newstatusmsg, buff);
}
|