From 688f55ba998c19304a29727c910504903f4cc49a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Nov 2014 18:51:36 +0000 Subject: lstr* replacements git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeClassic/src/skype.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/SkypeClassic/src/skype.cpp') diff --git a/protocols/SkypeClassic/src/skype.cpp b/protocols/SkypeClassic/src/skype.cpp index 52d08a6a45..8fc3c11d8e 100644 --- a/protocols/SkypeClassic/src/skype.cpp +++ b/protocols/SkypeClassic/src/skype.cpp @@ -214,12 +214,12 @@ int ShowMessage(int iconID, TCHAR *lpzText, int mustShow) { MessagePopup.iSeconds = popupTimeSec; MessagePopup.PluginData = (void *)1; - lstrcpy(MessagePopup.lptzText, lpzText); + mir_tstrcpy(MessagePopup.lptzText, lpzText); #ifdef _UNICODE mbstowcs(MessagePopup.lptzContactName, SKYPE_PROTONAME, strlen(SKYPE_PROTONAME) + 1); #else - lstrcpy(MessagePopup.lptzContactName, SKYPE_PROTONAME); + mir_tstrcpy(MessagePopup.lptzContactName, SKYPE_PROTONAME); #endif if (showPopup) @@ -1548,9 +1548,9 @@ void RingThread(char *szSkypeMsg) { InCallPopup.PluginWindowProc = InCallPopUpProc; InCallPopup.PluginData = (void *)1; - lstrcpyn(InCallPopup.lptzText, TranslateT("Incoming Skype Call"), MAX_SECONDLINE); + mir_tstrncpy(InCallPopup.lptzText, TranslateT("Incoming Skype Call"), MAX_SECONDLINE); - lstrcpyn(InCallPopup.lptzContactName, lpzContactName, MAX_CONTACTNAME); + mir_tstrncpy(InCallPopup.lptzContactName, lpzContactName, MAX_CONTACTNAME); if (showPopup) CallService(MS_POPUP_ADDPOPUPT, (WPARAM)&InCallPopup, 0); @@ -2477,7 +2477,7 @@ INT_PTR SkypeGetAvatarInfo(WPARAM wParam, LPARAM lParam) { if (!db_get_s(NULL, SKYPE_PROTONAME, "AvatarFile", &dbv)) { - lstrcpynA(AI->filename, dbv.pszVal, sizeof(AI->filename)); + mir_strncpy(AI->filename, dbv.pszVal, sizeof(AI->filename)); db_free(&dbv); return GAIR_SUCCESS; } -- cgit v1.2.3