summaryrefslogtreecommitdiff
path: root/src/modules/clist/movetogroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/movetogroup.cpp')
-rw-r--r--src/modules/clist/movetogroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/movetogroup.cpp b/src/modules/clist/movetogroup.cpp
index 12ec065367..5b9ca54af2 100644
--- a/src/modules/clist/movetogroup.cpp
+++ b/src/modules/clist/movetogroup.cpp
@@ -54,7 +54,7 @@ static TCHAR* PrepareGroupName(TCHAR* str)
if (p == NULL)
return mir_tstrdup(str);
- d = p = (TCHAR*)mir_alloc(sizeof(TCHAR)*(2*_tcslen(str)+1));
+ d = p = (TCHAR*)mir_alloc(sizeof(TCHAR)*(2*mir_tstrlen(str)+1));
while (*str) {
if (*str == '&')
*d++='&';