diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 10:06:32 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 10:06:32 +0000 |
commit | 5a17c9299e03bebf46169927abdeee34aaf8e854 (patch) | |
tree | cbd13080f33ac0b6396b9d3b8ba31a3c98de59f8 /plugins/UserInfoEx/src/ex_import/tinyxmlparser.cpp | |
parent | ed64312924e77707e7e5b5965c301692519f293a (diff) |
replace strlen to mir_strlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import/tinyxmlparser.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/ex_import/tinyxmlparser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/tinyxmlparser.cpp b/plugins/UserInfoEx/src/ex_import/tinyxmlparser.cpp index 04203f2f7a..40f271cb3e 100644 --- a/plugins/UserInfoEx/src/ex_import/tinyxmlparser.cpp +++ b/plugins/UserInfoEx/src/ex_import/tinyxmlparser.cpp @@ -501,7 +501,7 @@ const char* TiXmlBase::GetEntity(const char* p, char* value, int* length, TiXmlE {
if (strncmp(entity[i].str, p, entity[i].strLength) == 0)
{
- assert(strlen(entity[i].str) == entity[i].strLength);
+ assert(mir_strlen(entity[i].str) == entity[i].strLength);
*value = entity[i].chr;
*length = 1;
return (p + entity[i].strLength);
@@ -616,7 +616,7 @@ const char* TiXmlBase::ReadText( const char* p, }
}
}
- return p + strlen(endTag);
+ return p + mir_strlen(endTag);
}
#ifdef TIXML_USE_STL
@@ -1315,7 +1315,7 @@ const char* TiXmlComment::Parse(const char* p, TiXmlParsingData* data, TiXmlEnco document->SetError(TIXML_ERROR_PARSING_COMMENT, p, data, encoding);
return 0;
}
- p += strlen(startTag);
+ p += mir_strlen(startTag);
p = ReadText(p, &value, false, endTag, false, encoding);
return p;
}
@@ -1467,7 +1467,7 @@ const char* TiXmlText::Parse(const char* p, TiXmlParsingData* data, TiXmlEncodin document->SetError(TIXML_ERROR_PARSING_CDATA, p, data, encoding);
return 0;
}
- p += strlen(startTag);
+ p += mir_strlen(startTag);
// Keep all the white space, ignore the encoding, etc.
while ( p && *p
|