summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/mails/mime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/mails/mime.cpp')
-rw-r--r--plugins/YAMN/src/mails/mime.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}