summaryrefslogtreecommitdiff
path: root/src/core/stdchat
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdchat')
-rw-r--r--src/core/stdchat/src/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdchat/src/tools.cpp b/src/core/stdchat/src/tools.cpp
index 4ca40f7e48..b886edf0d5 100644
--- a/src/core/stdchat/src/tools.cpp
+++ b/src/core/stdchat/src/tools.cpp
@@ -51,7 +51,7 @@ bool LoadMessageFont(LOGFONT *lf, COLORREF *colour)
DBVARIANT dbv;
if (db_get_ts(NULL, "SRMM", str, &dbv))
- _tcscpy(lf->lfFaceName, _T("Arial"));
+ mir_tstrcpy(lf->lfFaceName, _T("Arial"));
else {
mir_tstrncpy(lf->lfFaceName, dbv.ptszVal, SIZEOF(lf->lfFaceName));
db_free(&dbv);