summaryrefslogtreecommitdiff
path: root/src/modules/chat
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/chat')
-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 e86ad505fb..7d90bfe084 100644
--- a/src/modules/chat/clist.cpp
+++ b/src/modules/chat/clist.cpp
@@ -207,7 +207,7 @@ BOOL AddEvent(MCONTACT hContact, HICON hIcon, MEVENT hEvent, int type, TCHAR* fm
{
TCHAR szBuf[4096];
- if (!fmt || !fmt[0] || _tcslen(fmt) > 2000)
+ if (!fmt || !fmt[0] || mir_tstrlen(fmt) > 2000)
return FALSE;
va_list marker;