summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Spamotron/src')
-rw-r--r--plugins/Spamotron/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Spamotron/src/utils.cpp b/plugins/Spamotron/src/utils.cpp
index 8dc361d002..9e54383800 100644
--- a/plugins/Spamotron/src/utils.cpp
+++ b/plugins/Spamotron/src/utils.cpp
@@ -223,7 +223,7 @@ TCHAR* get_response(TCHAR* dst, unsigned int dstlen, int num)
tmp = _tcstok(src, _T("\r\n"));
while (tmp) {
if (i == num) {
- _tcscpy(dst, tmp);
+ mir_tstrcpy(dst, tmp);
mir_free(src);
return dst;
}