summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/mir_db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/mir_db.cpp')
-rw-r--r--plugins/FTPFileYM/src/mir_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/src/mir_db.cpp b/plugins/FTPFileYM/src/mir_db.cpp
index 82a8306ee7..4ba9ce13a3 100644
--- a/plugins/FTPFileYM/src/mir_db.cpp
+++ b/plugins/FTPFileYM/src/mir_db.cpp
@@ -100,7 +100,7 @@ int DB::getString(MCONTACT hContact, char *szModule, char *szSetting, TCHAR *buf
DBVARIANT dbv;
if (!db_get_ts(hContact, szModule, szSetting, &dbv))
{
- _tcscpy(buff, dbv.ptszVal);
+ mir_tstrcpy(buff, dbv.ptszVal);
db_free(&dbv);
return 0;
}