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