diff options
Diffstat (limited to 'src/modules/clist/movetogroup.cpp')
-rw-r--r-- | src/modules/clist/movetogroup.cpp | 2 |
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++='&';
|