diff options
Diffstat (limited to 'plugins/TooltipNotify/src/Utils.cpp')
-rw-r--r-- | plugins/TooltipNotify/src/Utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TooltipNotify/src/Utils.cpp b/plugins/TooltipNotify/src/Utils.cpp index c0d4a25fc8..4d102f9822 100644 --- a/plugins/TooltipNotify/src/Utils.cpp +++ b/plugins/TooltipNotify/src/Utils.cpp @@ -11,14 +11,14 @@ BOOL IsNt50() return (bMajorVer>=5);
}
-void TruncateWithDots(TCHAR* szString, size_t iNewLen)
+void TruncateWithDots(wchar_t* szString, size_t iNewLen)
{
size_t iOrigLen = mir_tstrlen(szString);
if (iNewLen < iOrigLen) {
- TCHAR* p = szString+iNewLen;
- *p = _T('\0');
+ wchar_t* p = szString+iNewLen;
+ *p = '\0';
for(int i=0; --p>=szString && i<3; i++)
- *p = _T('.');
+ *p = '.';
}
}
|