summaryrefslogtreecommitdiff
path: root/src/modules/skin
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 /src/modules/skin
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 'src/modules/skin')
-rw-r--r--src/modules/skin/hotkeys.cpp2
-rw-r--r--src/modules/skin/skinicons.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/skin/hotkeys.cpp b/src/modules/skin/hotkeys.cpp
index e2795ae92e..13dfc09ad0 100644
--- a/src/modules/skin/hotkeys.cpp
+++ b/src/modules/skin/hotkeys.cpp
@@ -218,7 +218,7 @@ static INT_PTR svcHotkeyUnregister(WPARAM, LPARAM lParam)
char pszNamePrefix[MAXMODULELABELLENGTH];
size_t cbNamePrefix;
mir_snprintf(pszNamePrefix, SIZEOF(pszNamePrefix), "%s$", pszName);
- cbNamePrefix = strlen(pszNamePrefix);
+ cbNamePrefix = mir_strlen(pszNamePrefix);
for (i=0; i < hotkeys.getCount(); i++)
{
diff --git a/src/modules/skin/skinicons.cpp b/src/modules/skin/skinicons.cpp
index d7c2884f14..2382da9976 100644
--- a/src/modules/skin/skinicons.cpp
+++ b/src/modules/skin/skinicons.cpp
@@ -383,8 +383,8 @@ HICON LoadSkinIcon(int idx, bool big)
static void convertOneProtocol(char *moduleName, char *iconName)
{
- char *pm = moduleName + strlen(moduleName);
- char *pi = iconName + strlen(iconName);
+ char *pm = moduleName + mir_strlen(moduleName);
+ char *pi = iconName + mir_strlen(iconName);
for (int i=0; i < SIZEOF(statusIcons); i++) {
_itoa(statusIcons[i].id, pm, 10);