summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/subst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TipperYM/src/subst.cpp')
-rw-r--r--plugins/TipperYM/src/subst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/subst.cpp b/plugins/TipperYM/src/subst.cpp
index 623b25f81c..9d4c23a4ec 100644
--- a/plugins/TipperYM/src/subst.cpp
+++ b/plugins/TipperYM/src/subst.cpp
@@ -450,11 +450,11 @@ bool GetSubstText(MCONTACT hContact, const DISPLAYSUBST &ds, TCHAR *buff, int bu
bool GetRawSubstText(MCONTACT hContact, char *szRawSpec, TCHAR *buff, int bufflen)
{
- size_t lenght = strlen(szRawSpec);
+ size_t lenght = mir_strlen(szRawSpec);
for (size_t i = 0; i < lenght; i++) {
if (szRawSpec[i] == '/') {
szRawSpec[i] = 0;
- if (strlen(szRawSpec) == 0) {
+ if (mir_strlen(szRawSpec) == 0) {
char *szProto = GetContactProto(hContact);
if (szProto) {
if (translations[0].transFunc(hContact, szProto, &szRawSpec[i + 1], buff, bufflen) != 0)