diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 20:07:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 20:07:58 +0000 |
commit | c09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch) | |
tree | 9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/SmileyAdd | |
parent | babf7873a3fe373d60ef22b1b671d98e014d8819 (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/SmileyAdd')
-rw-r--r-- | plugins/SmileyAdd/src/general.cpp | 4 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/options.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index e06fd40f1d..baec75c826 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -233,8 +233,8 @@ void ReportError(const TCHAR* errmsg) static const TCHAR title[] = _T("Miranda SmileyAdd");
POPUPDATAT pd = {0};
- _tcscpy(pd.lpwzContactName, title);
- _tcscpy(pd.lpwzText, errmsg);
+ mir_tstrcpy(pd.lpwzContactName, title);
+ mir_tstrcpy(pd.lpwzText, errmsg);
pd.iSeconds = -1;
if (PUAddPopupT(&pd) == CALLSERVICE_NOTFOUND)
MessageBox(NULL, errmsg, title, MB_OK | MB_ICONWARNING | MB_TOPMOST);
diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp index f2e0474f86..d6086dd8f2 100644 --- a/plugins/SmileyAdd/src/options.cpp +++ b/plugins/SmileyAdd/src/options.cpp @@ -533,15 +533,15 @@ bool OptionsDialogType::BrowseForSmileyPacks(int item) ofn.hwndOwner = m_hwndDialog;
TCHAR filter[512], *pfilter;
- _tcscpy(filter, TranslateT("Smiley packs"));
+ mir_tstrcpy(filter, TranslateT("Smiley packs"));
mir_tstrcat(filter, _T(" (*.msl;*.asl;*.xep)"));
pfilter = filter + mir_tstrlen(filter) + 1;
- _tcscpy(pfilter, _T("*.msl;*.asl;*.xep"));
+ mir_tstrcpy(pfilter, _T("*.msl;*.asl;*.xep"));
pfilter = pfilter + mir_tstrlen(pfilter) + 1;
- _tcscpy(pfilter, TranslateT("All files"));
+ mir_tstrcpy(pfilter, TranslateT("All files"));
mir_tstrcat(pfilter, _T(" (*.*)"));
pfilter = pfilter + mir_tstrlen(pfilter) + 1;
- _tcscpy(pfilter, _T("*.*"));
+ mir_tstrcpy(pfilter, _T("*.*"));
pfilter = pfilter + mir_tstrlen(pfilter) + 1;
*pfilter = '\0';
ofn.lpstrFilter = filter;
|