diff options
| author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 10:18:21 +0000 | 
|---|---|---|
| committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 10:18:21 +0000 | 
| commit | b499ebc740aa5480be013d40e0d8097066800642 (patch) | |
| tree | ed410ee863f4afc0c579599741bf38b4e3ffb706 /plugins/ConnectionNotify/src/ConnectionNotify.cpp | |
| parent | 5a17c9299e03bebf46169927abdeee34aaf8e854 (diff) | |
replace _tcslen to mir_tstrlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ConnectionNotify/src/ConnectionNotify.cpp')
| -rw-r--r-- | plugins/ConnectionNotify/src/ConnectionNotify.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index 3b8417abfd..32eaf32610 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -75,11 +75,11 @@ BOOL strrep(TCHAR *src, TCHAR *needle, TCHAR *newstring)  	_tcsncpy_s(begining, src, pos);
  	begining[pos] = 0;
 -	pos = pos + _tcslen(needle);
 +	pos = pos + mir_tstrlen(needle);
  	_tcsncpy_s(tail, src + pos, _TRUNCATE);
  	begining[pos] = 0;
 -	pos = mir_sntprintf(src, _tcslen(src), _T("%s%s%s"), begining, newstring, tail);
 +	pos = mir_sntprintf(src, mir_tstrlen(src), _T("%s%s%s"), begining, newstring, tail);
  	return TRUE;
  }
  | 
