summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify')
-rw-r--r--plugins/NewEventNotify/src/popup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp
index c2b22c702b..c87861bd25 100644
--- a/plugins/NewEventNotify/src/popup.cpp
+++ b/plugins/NewEventNotify/src/popup.cpp
@@ -271,7 +271,7 @@ static TCHAR* GetEventPreview(DBEVENTINFO *dbei)
szNick = mir_a2t(szUin);
if (szNick) {
- _tcscpy(szBuf, szNick);
+ mir_tstrcpy(szBuf, szNick);
_tcscat(szBuf, TranslateT(" added you to the contact list"));
mir_free(szNick);
comment1 = mir_tstrdup(szBuf);
@@ -307,7 +307,7 @@ static TCHAR* GetEventPreview(DBEVENTINFO *dbei)
szNick = mir_a2t(szUin);
if (szNick) {
- _tcscpy(szBuf, szNick);
+ mir_tstrcpy(szBuf, szNick);
_tcscat(szBuf, TranslateT(" requested authorization"));
mir_free(szNick);
comment1 = mir_tstrdup(szBuf);