summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/chat/message.cpp')
-rw-r--r--plugins/Scriver/src/chat/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/chat/message.cpp b/plugins/Scriver/src/chat/message.cpp
index fa228ab895..c01cb1f2ee 100644
--- a/plugins/Scriver/src/chat/message.cpp
+++ b/plugins/Scriver/src/chat/message.cpp
@@ -288,7 +288,7 @@ TCHAR* DoRtfToTags(char *pszText, SESSION_INFO *si)
// move the memory and paste in new commands instead of the old RTF
if (InsertThis[0] || iRemoveChars) {
MoveMemory(p1 + mir_strlen(InsertThis), p1 + iRemoveChars, mir_strlen(p1) - iRemoveChars + 1);
- CopyMemory(p1, InsertThis, mir_strlen(InsertThis));
+ memcpy(p1, InsertThis, mir_strlen(InsertThis));
p1 += mir_strlen(InsertThis);
}
else p1++;