summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TooltipNotify/src/Utils.cpp')
-rw-r--r--plugins/TooltipNotify/src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TooltipNotify/src/Utils.cpp b/plugins/TooltipNotify/src/Utils.cpp
index 4d102f9822..9338efebbe 100644
--- a/plugins/TooltipNotify/src/Utils.cpp
+++ b/plugins/TooltipNotify/src/Utils.cpp
@@ -13,7 +13,7 @@ BOOL IsNt50()
void TruncateWithDots(wchar_t* szString, size_t iNewLen)
{
- size_t iOrigLen = mir_tstrlen(szString);
+ size_t iOrigLen = mir_wstrlen(szString);
if (iNewLen < iOrigLen) {
wchar_t* p = szString+iNewLen;
*p = '\0';