diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 18:51:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 18:51:36 +0000 |
commit | 688f55ba998c19304a29727c910504903f4cc49a (patch) | |
tree | 69121ebb6d02bcf9e670428b11813087fc7f1640 /protocols/SkypeClassic/src/skype.cpp | |
parent | 4f0e30cdf56fbafdf955bbe8b93930bab9e39bd0 (diff) |
lstr* replacements
git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/src/skype.cpp')
-rw-r--r-- | protocols/SkypeClassic/src/skype.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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;
}
|