summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r--plugins/SmileyAdd/src/general.cpp4
-rw-r--r--plugins/SmileyAdd/src/options.cpp8
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;