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/IEView/src/Template.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/IEView/src/Template.cpp')
-rw-r--r-- | plugins/IEView/src/Template.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/IEView/src/Template.cpp b/plugins/IEView/src/Template.cpp index fbf87fc871..d405277f28 100644 --- a/plugins/IEView/src/Template.cpp +++ b/plugins/IEView/src/Template.cpp @@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TokenDef::TokenDef(const char *tokenString)
{
this->tokenString = tokenString;
- this->tokenLen = (int)strlen(tokenString);
+ this->tokenLen = (int)mir_strlen(tokenString);
this->token = 0;
this->escape = 0;
}
@@ -33,7 +33,7 @@ TokenDef::TokenDef(const char *tokenString, int token, int escape) {
this->tokenString = tokenString;
this->token = token;
- this->tokenLen = (int)strlen(tokenString);
+ this->tokenLen = (int)mir_strlen(tokenString);
this->escape = escape;
}
@@ -170,7 +170,7 @@ void Template::tokenize() Token *lastToken = NULL;
int lastTokenType = Token::PLAIN;
int lastTokenEscape = 0;
- int l = (int)strlen(str);
+ int l = (int)mir_strlen(str);
for (int i = 0, lastTokenStart = 0; i <= l;) {
Token *newToken;
int newTokenType = 0, newTokenSize = 0, newTokenEscape = 0;
@@ -339,7 +339,7 @@ TemplateMap* TemplateMap::loadTemplateFile(const char *id, const char *filename, {
char lastTemplate[1024], tmp2[1024];
unsigned int i = 0;
- if (filename == NULL || strlen(filename) == 0)
+ if (filename == NULL || mir_strlen(filename) == 0)
return NULL;
FILE *fh = fopen(filename, "rt");
|