summaryrefslogtreecommitdiff
path: root/src/modules/chat/clist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/chat/clist.cpp')
-rw-r--r--src/modules/chat/clist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat/clist.cpp b/src/modules/chat/clist.cpp
index 6a2ca27a09..8f8535eea1 100644
--- a/src/modules/chat/clist.cpp
+++ b/src/modules/chat/clist.cpp
@@ -29,7 +29,7 @@ MCONTACT AddRoom(const char *pszModule, const TCHAR *pszRoom, const TCHAR *pszDi
if (groupName)
_tcsncpy_s(pszGroup, groupName, _TRUNCATE);
else
- _tcscpy(pszGroup, _T("Chat rooms"));
+ mir_tstrcpy(pszGroup, _T("Chat rooms"));
if (pszGroup[0]) {
HANDLE hGroup = Clist_GroupExists(pszGroup);