summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/dynstuff.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 /protocols/Gadu-Gadu/src/dynstuff.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 'protocols/Gadu-Gadu/src/dynstuff.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/dynstuff.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Gadu-Gadu/src/dynstuff.cpp b/protocols/Gadu-Gadu/src/dynstuff.cpp
index 9ae41daf59..17ce53a534 100644
--- a/protocols/Gadu-Gadu/src/dynstuff.cpp
+++ b/protocols/Gadu-Gadu/src/dynstuff.cpp
@@ -242,7 +242,7 @@ int string_append_n(string_t s, const char *str, int count)
}
if (count == -1)
- count = (int)strlen(str);
+ count = (int)mir_strlen(str);
string_realloc(s, s->len + count);
@@ -275,7 +275,7 @@ void string_insert_n(string_t s, int index, const char *str, int count)
return;
if (count == -1)
- count = (int)strlen(str);
+ count = (int)mir_strlen(str);
if (index > s->len)
index = s->len;
@@ -310,8 +310,8 @@ string_t string_init(const char *value)
value = "";
tmp->str = _strdup(value);
- tmp->len = (int)strlen(value);
- tmp->size = (int)strlen(value) + 1;
+ tmp->len = (int)mir_strlen(value);
+ tmp->size = (int)mir_strlen(value) + 1;
return tmp;
}