summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/CConfig.cpp')
-rw-r--r--plugins/MirandaG15/src/CConfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirandaG15/src/CConfig.cpp b/plugins/MirandaG15/src/CConfig.cpp
index a35feaa0a3..e5809be5bf 100644
--- a/plugins/MirandaG15/src/CConfig.cpp
+++ b/plugins/MirandaG15/src/CConfig.cpp
@@ -346,9 +346,9 @@ void CConfig::LoadFontSettings(int iFont)
mir_snprintf(szSetting,SIZEOF(szSetting),"Font%dName",iFont);
DBVARIANT dbv;
if (db_get_ts(NULL, "MirandaG15", szSetting, &dbv))
- lstrcpy(m_logfont[iFont].lfFaceName,_T("Small Fonts"));
+ mir_tstrcpy(m_logfont[iFont].lfFaceName,_T("Small Fonts"));
else {
- lstrcpy(m_logfont[iFont].lfFaceName, dbv.ptszVal);
+ mir_tstrcpy(m_logfont[iFont].lfFaceName, dbv.ptszVal);
db_free(&dbv);
}