diff options
Diffstat (limited to 'plugins/YAMN')
-rw-r--r-- | plugins/YAMN/src/browser/mailbrowser.cpp | 4 | ||||
-rw-r--r-- | plugins/YAMN/src/mails/mime.cpp | 4 | ||||
-rw-r--r-- | plugins/YAMN/src/proto/pop3/pop3opt.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/YAMN/src/browser/mailbrowser.cpp b/plugins/YAMN/src/browser/mailbrowser.cpp index e34fe308c5..3f506bfb74 100644 --- a/plugins/YAMN/src/browser/mailbrowser.cpp +++ b/plugins/YAMN/src/browser/mailbrowser.cpp @@ -1384,11 +1384,11 @@ INT_PTR CALLBACK DlgProcYAMNShowMessage(HWND hDlg, UINT msg, WPARAM wParam, LPAR if (!str2) { str2 = (WCHAR *)str_nul; }// the header value may be NULL if (!From) if (!_stricmp(Header->name, "From")) { From = new WCHAR[mir_wstrlen(str2) + 1]; - wcscpy(From, str2); + mir_wstrcpy(From, str2); } if (!Subj) if (!_stricmp(Header->name, "Subject")) { Subj = new WCHAR[mir_wstrlen(str2) + 1]; - wcscpy(Subj, str2); + mir_wstrcpy(Subj, str2); } //if (!hasBody) if (!mir_strcmp(Header->name,"Body")) hasBody = true; int count = 0; WCHAR **split = 0; diff --git a/plugins/YAMN/src/mails/mime.cpp b/plugins/YAMN/src/mails/mime.cpp index 582db8d5a2..aa0d0b0782 100644 --- a/plugins/YAMN/src/mails/mime.cpp +++ b/plugins/YAMN/src/mails/mime.cpp @@ -697,7 +697,7 @@ FailBackRaw: destpos += 3;
ConvertStringToUnicode(infoline,CP_ACP,&temp);
size_t wsize = mir_wstrlen(temp);
- wcscpy(&dest[destpos],temp);
+ mir_wstrcpy(&dest[destpos],temp);
destpos += wsize;
delete[] temp;
}
@@ -705,7 +705,7 @@ FailBackRaw: if (partData[i].wBody) {
size_t wsize = mir_wstrlen(partData[i].wBody);
- wcscpy(&dest[destpos],partData[i].wBody);
+ mir_wstrcpy(&dest[destpos],partData[i].wBody);
destpos += wsize;
delete[] partData[i].wBody;
}
diff --git a/plugins/YAMN/src/proto/pop3/pop3opt.cpp b/plugins/YAMN/src/proto/pop3/pop3opt.cpp index f4bb745659..76d45d294a 100644 --- a/plugins/YAMN/src/proto/pop3/pop3opt.cpp +++ b/plugins/YAMN/src/proto/pop3/pop3opt.cpp @@ -1066,13 +1066,13 @@ INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg,UINT msg,WPARAM wParam,LPARAM lPara if (NULL != ActualAccount->NewMailN.App)
delete[] ActualAccount->NewMailN.App;
ActualAccount->NewMailN.App=new WCHAR[mir_wstrlen(TextW)+1];
- wcscpy(ActualAccount->NewMailN.App,TextW);
+ mir_wstrcpy(ActualAccount->NewMailN.App,TextW);
GetDlgItemTextW(hDlg,IDC_EDITAPPPARAM,TextW,SIZEOF(TextW));
if (NULL != ActualAccount->NewMailN.AppParam)
delete[] ActualAccount->NewMailN.AppParam;
ActualAccount->NewMailN.AppParam=new WCHAR[mir_wstrlen(TextW)+1];
- wcscpy(ActualAccount->NewMailN.AppParam,TextW);
+ mir_wstrcpy(ActualAccount->NewMailN.AppParam,TextW);
ActualAccount->Server->Port=Port;
ActualAccount->Interval=Interval*60;
|