summaryrefslogtreecommitdiff
path: root/plugins/Boltun/src/Engine/TalkEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Boltun/src/Engine/TalkEngine.cpp')
-rw-r--r--plugins/Boltun/src/Engine/TalkEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Boltun/src/Engine/TalkEngine.cpp b/plugins/Boltun/src/Engine/TalkEngine.cpp
index 8d4efbf476..1c4465402b 100644
--- a/plugins/Boltun/src/Engine/TalkEngine.cpp
+++ b/plugins/Boltun/src/Engine/TalkEngine.cpp
@@ -274,7 +274,7 @@ tstring TalkBot::AllReplies(const tstring &incomingMessage, ContactData *contact
TalkBot::MessageInfo* TalkBot::Reply(MCONTACT contact, tstring incomingMessage, bool saveChoice)
{
TCHAR* str = new TCHAR[incomingMessage.length() + 1];
- _tcscpy(str, incomingMessage.c_str());
+ mir_tstrcpy(str, incomingMessage.c_str());
CharLower(str);
incomingMessage = str;
delete[] str;