summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_addto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/metacontacts/meta_addto.cpp')
-rw-r--r--src/modules/metacontacts/meta_addto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/metacontacts/meta_addto.cpp b/src/modules/metacontacts/meta_addto.cpp
index 9311ff97d5..f974b2b3f8 100644
--- a/src/modules/metacontacts/meta_addto.cpp
+++ b/src/modules/metacontacts/meta_addto.cpp
@@ -52,7 +52,7 @@ static int FillList(HWND list, BOOL sort)
// get contact display name from clist
TCHAR *swzContactDisplayName = cli.pfnGetContactDisplayName(hMetaUser, 0);
// don't insert huge strings that we have to compare with later
- if (_tcslen(swzContactDisplayName) > 1023)
+ if (mir_tstrlen(swzContactDisplayName) > 1023)
swzContactDisplayName[1024] = 0;
int pos = -1;