summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src/Misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ClientChangeNotify/src/Misc.h')
-rw-r--r--plugins/ClientChangeNotify/src/Misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ClientChangeNotify/src/Misc.h b/plugins/ClientChangeNotify/src/Misc.h
index 8f3d299073..c6b85e9cf6 100644
--- a/plugins/ClientChangeNotify/src/Misc.h
+++ b/plugins/ClientChangeNotify/src/Misc.h
@@ -26,8 +26,8 @@ __inline void ShowMsg(TCHAR *FirstLine, TCHAR *SecondLine = _T(""), bool IsError
{
POPUPDATAT ppd = {0};
ppd.lchIcon = LoadIcon(NULL, IsErrorMsg ? IDI_EXCLAMATION : IDI_INFORMATION);
- lstrcpy(ppd.lptzContactName, FirstLine);
- lstrcpy(ppd.lptzText, SecondLine);
+ mir_tstrcpy(ppd.lptzContactName, FirstLine);
+ mir_tstrcpy(ppd.lptzText, SecondLine);
ppd.colorBack = IsErrorMsg ? 0x0202E3 : 0xE8F1FD;
ppd.colorText = IsErrorMsg ? 0xE8F1FD : 0x000000;
ppd.iSeconds = Timeout;