From b499ebc740aa5480be013d40e0d8097066800642 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 10:18:21 +0000 Subject: replace _tcslen to mir_tstrlen git-svn-id: http://svn.miranda-ng.org/main/trunk@13748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/chat/clist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/chat/clist.cpp') 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; -- cgit v1.2.3