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 --- plugins/LotusNotify/src/LotusNotify.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/LotusNotify/src/LotusNotify.cpp') diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index 90470b4a8b..9a46adf9c5 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -1480,15 +1480,15 @@ void checkEnvPath(TCHAR *path) cur = _tgetenv(_T("PATH")); _tcslwr(cur); found = _tcsstr(cur,path); - len = (int)_tcslen(path); + len = (int)mir_tstrlen(path); if(found != NULL && (found[len] == ';' || found[len] == 0 || (found[len] == '\\' && (found[len+1] == ';' || found[len+1] == 0)))) { return; } - assert(_tcslen(path) + _tcslen(cur) + 1 < SIZEOF(nowy)); + assert(mir_tstrlen(path) + mir_tstrlen(cur) + 1 < SIZEOF(nowy)); _tcsncpy_s(nowy, _T("PATH="), _TRUNCATE); _tcscat_s(nowy, cur); - if(cur[_tcslen(cur)-1]!=';') + if(cur[mir_tstrlen(cur)-1]!=';') _tcscat_s(nowy, _T(";")); _tcscat_s(nowy, path); _tcscat_s(nowy, _T(";")); @@ -1521,7 +1521,7 @@ static int modulesloaded(WPARAM, LPARAM) GetLotusPath(path, sizeof(path)); checkEnvPath(path); _tcscat_s(path, _countof(path), _T("nnotes.dll")); - assert(_tcslen(path)>0); + assert(mir_tstrlen(path)>0); log_p(L"Loading dll: %s", path); -- cgit v1.2.3