From c09aa99a7e9915c503064d6eb5e9dd1bdd2a673f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 20:07:58 +0000 Subject: replace _tcscpy to mir_tstrcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/tools.cpp | 2 +- plugins/TabSRMM/src/chat/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/chat') diff --git a/plugins/TabSRMM/src/chat/tools.cpp b/plugins/TabSRMM/src/chat/tools.cpp index cc3664024b..6bb9e78f08 100644 --- a/plugins/TabSRMM/src/chat/tools.cpp +++ b/plugins/TabSRMM/src/chat/tools.cpp @@ -692,7 +692,7 @@ BOOL IsHighlighted(SESSION_INFO *si, GCEVENT *gce) size_t len = mir_tstrlen(gce->ptszNick) + 1; TCHAR *tmp = (TCHAR*)_alloca(sizeof(TCHAR)*(len + 1)); *tmp = GetIndicator(si, gce->ptszNick, 0); - _tcscpy(tmp + 1, gce->ptszNick); + mir_tstrcpy(tmp + 1, gce->ptszNick); evTmp.ptszNick = tmp; } } diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp index c6eb16c2ce..f7ba61b949 100644 --- a/plugins/TabSRMM/src/chat/window.cpp +++ b/plugins/TabSRMM/src/chat/window.cpp @@ -2708,7 +2708,7 @@ LABEL_SHOWWINDOW: SendDlgItemMessage(hwndDlg, IDC_CHAT_MESSAGE, EM_GETTEXTRANGE, 0, (LPARAM)&tr2); if (!_istspace(*tr2.lpstrText)) *tszTmp++ = _T(' '); - _tcscpy(tszTmp, tr.lpstrText); + mir_tstrcpy(tszTmp, tr.lpstrText); } else // in the beginning of the message window mir_sntprintf(tszAppeal, bufSize, tszAplTmpl, tr.lpstrText); -- cgit v1.2.3