summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 3d0a945004..85c803cef9 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -462,8 +462,8 @@ void CSkypeProto::ShowNotification(const TCHAR *caption, const TCHAR *message, i
{
POPUPDATAT ppd = { 0 };
ppd.lchContact = hContact;
- wcsncpy(ppd.lpwzContactName, caption, MAX_CONTACTNAME);
- wcsncpy(ppd.lpwzText, message, MAX_SECONDLINE);
+ mir_tstrcpy(ppd.lpwzContactName, caption);
+ mir_tstrcpy(ppd.lpwzText, message);
ppd.lchIcon = Skin_GetIcon("Skype_main");
if (!PUAddPopupT(&ppd))