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/Weather/src/weather_conv.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/Weather/src/weather_conv.cpp')
-rw-r--r-- | plugins/Weather/src/weather_conv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Weather/src/weather_conv.cpp b/plugins/Weather/src/weather_conv.cpp index a29a666ce7..c3e1774746 100644 --- a/plugins/Weather/src/weather_conv.cpp +++ b/plugins/Weather/src/weather_conv.cpp @@ -432,7 +432,7 @@ void TrimString(char *str) {
size_t len, start;
- len = strlen(str);
+ len = mir_strlen(str);
while(len && (unsigned char)str[len-1] <= ' ') str[--len] = 0;
for(start=0; (unsigned char)str[start] <= ' ' && str[start]; start++);
memmove(str, str+start, len-start+1);
@@ -458,7 +458,7 @@ void ConvertBackslashes(char *str) case 't': *pstr = '\t'; break;
default: *pstr = pstr[1]; break;
}
- memmove(pstr+1, pstr+2, strlen(pstr+2)+1);
+ memmove(pstr+1, pstr+2, mir_strlen(pstr+2)+1);
} } }
// replace spaces with _T("%20"
@@ -467,7 +467,7 @@ void ConvertBackslashes(char *str) char *GetSearchStr(char *dis)
{
char *pstr = dis;
- size_t len = strlen(dis);
+ size_t len = mir_strlen(dis);
while (*pstr != 0)
{
if (*pstr == ' ')
|