summaryrefslogtreecommitdiff
path: root/plugins/ConnectionNotify
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:18:21 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:18:21 +0000
commitb499ebc740aa5480be013d40e0d8097066800642 (patch)
treeed410ee863f4afc0c579599741bf38b4e3ffb706 /plugins/ConnectionNotify
parent5a17c9299e03bebf46169927abdeee34aaf8e854 (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')
-rw-r--r--plugins/ConnectionNotify/src/ConnectionNotify.cpp4
-rw-r--r--plugins/ConnectionNotify/src/debug.cpp6
2 files changed, 5 insertions, 5 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;
}
diff --git a/plugins/ConnectionNotify/src/debug.cpp b/plugins/ConnectionNotify/src/debug.cpp
index d20d46f314..633a048af4 100644
--- a/plugins/ConnectionNotify/src/debug.cpp
+++ b/plugins/ConnectionNotify/src/debug.cpp
@@ -29,7 +29,7 @@ void _OutputDebugString(TCHAR* lpOutputString, ...)
TCHAR* s = va_arg(argptr, TCHAR *);
mir_sntprintf(OutMsg, SIZEOF(OutMsg), format, s);
_tcsncpy(format, OutMsg, _countof(OutMsg));
- j = (int)_tcslen(format);
+ j = (int)mir_tstrlen(format);
_tcscat(format, _T(" "));
break;
}
@@ -39,7 +39,7 @@ void _OutputDebugString(TCHAR* lpOutputString, ...)
char c = (char)va_arg(argptr, int);
mir_sntprintf(OutMsg, SIZEOF(OutMsg), format, c);
_tcsncpy(format, OutMsg, _countof(OutMsg));
- j = (int)_tcslen(format);
+ j = (int)mir_tstrlen(format);
_tcscat(format, _T(" "));
break;
}
@@ -49,7 +49,7 @@ void _OutputDebugString(TCHAR* lpOutputString, ...)
int d = va_arg(argptr, int);
mir_sntprintf(OutMsg, SIZEOF(OutMsg), format, d);
_tcsncpy(format, OutMsg, _countof(OutMsg));
- j = (int)_tcslen(format);
+ j = (int)mir_tstrlen(format);
_tcscat(format, _T(" "));
break;
}