summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/help.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
commit5a17c9299e03bebf46169927abdeee34aaf8e854 (patch)
treecbd13080f33ac0b6396b9d3b8ba31a3c98de59f8 /plugins/Variables/src/help.cpp
parented64312924e77707e7e5b5965c301692519f293a (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/Variables/src/help.cpp')
-rw-r--r--plugins/Variables/src/help.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Variables/src/help.cpp b/plugins/Variables/src/help.cpp
index e19b39e297..a76a3a15e9 100644
--- a/plugins/Variables/src/help.cpp
+++ b/plugins/Variables/src/help.cpp
@@ -246,7 +246,7 @@ static TCHAR *getTokenCategory(TOKENREGISTEREX *tr) {
while (*cur != 0) {
if (*cur == '\t') {
*cur = 0;
- helpText = ( char* )mir_realloc(helpText, strlen(helpText)+1);
+ helpText = ( char* )mir_realloc(helpText, mir_strlen(helpText)+1);
TCHAR *res = mir_a2t(helpText);
mir_free(helpText);
@@ -266,7 +266,7 @@ static TCHAR *getHelpDescription(TOKENREGISTEREX *tr)
if (tr == NULL)
return NULL;
- char *cur = tr->szHelpText + strlen(tr->szHelpText);
+ char *cur = tr->szHelpText + mir_strlen(tr->szHelpText);
while (cur > tr->szHelpText) {
if (*cur == '\t') {
@@ -314,7 +314,7 @@ static TCHAR *getTokenDescription(TOKENREGISTEREX *tr)
}
else args = NULL;
- size_t len = _tcslen(tr->tszTokenString) + (args!=NULL?strlen(args):0) + 3;
+ size_t len = _tcslen(tr->tszTokenString) + (args!=NULL?mir_strlen(args):0) + 3;
TCHAR *desc = (TCHAR*)mir_calloc(len * sizeof(TCHAR));
if (desc == NULL) {
mir_free(helpText);