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 63b981bb78..0142470143 100644
--- a/plugins/TooltipNotify/src/Utils.cpp
+++ b/plugins/TooltipNotify/src/Utils.cpp
@@ -15,7 +15,7 @@ BOOL IsNt50()
void TruncateWithDots(TCHAR* szString, size_t iNewLen)
{
- size_t iOrigLen = _tcslen(szString);
+ size_t iOrigLen = mir_tstrlen(szString);
if (iNewLen < iOrigLen) {
TCHAR* p = szString+iNewLen;
*p = _T('\0');