summaryrefslogtreecommitdiff
path: root/src/modules/database/database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database/database.cpp')
-rw-r--r--src/modules/database/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index bdf770646d..2f16ad53df 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -76,7 +76,7 @@ int getProfilePath(TCHAR *buf, size_t cch)
GetPrivateProfileString(_T("Database"), _T("ProfileDir"), _T(""), profiledir, SIZEOF(profiledir), mirandabootini);
if (profiledir[0] == 0)
- _tcscpy(profiledir, _T("%miranda_path%\\Profiles"));
+ mir_tstrcpy(profiledir, _T("%miranda_path%\\Profiles"));
size_t len = PathToAbsoluteT( VARST(profiledir), buf);