summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AssocMgr/src/utils.cpp')
-rw-r--r--plugins/AssocMgr/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AssocMgr/src/utils.cpp b/plugins/AssocMgr/src/utils.cpp
index 031ec3b6e9..d1d5dad270 100644
--- a/plugins/AssocMgr/src/utils.cpp
+++ b/plugins/AssocMgr/src/utils.cpp
@@ -118,7 +118,7 @@ BOOL EnumDbPrefixSettings(const char *pszModule,const char *pszSettingPrefix,cha
param.settings=NULL;
param.nSettingsCount=0;
param.pszPrefix=pszSettingPrefix;
- param.nPrefixLen=lstrlenA(pszSettingPrefix);
+ param.nPrefixLen=mir_strlen(pszSettingPrefix);
CallService(MS_DB_CONTACT_ENUMSETTINGS,0,(LPARAM)&dbces);
*pnSettingsCount=param.nSettingsCount;
*pSettings=param.settings;