summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/Tooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TooltipNotify/src/Tooltip.cpp')
-rw-r--r--plugins/TooltipNotify/src/Tooltip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TooltipNotify/src/Tooltip.cpp b/plugins/TooltipNotify/src/Tooltip.cpp
index d55ad2c156..0ce9ce6d59 100644
--- a/plugins/TooltipNotify/src/Tooltip.cpp
+++ b/plugins/TooltipNotify/src/Tooltip.cpp
@@ -84,7 +84,7 @@ LRESULT CALLBACK CTooltip::WindowProc(HWND hWnd, UINT message, WPARAM wParam, LP
SetBkMode(hDC, TRANSPARENT);
SetTextColor(hDC, m_dwTextColor);
SelectObject(hDC, m_hFont);
- DrawText(hDC, m_szText, mir_tstrlen(m_szText), &rect, DT_CENTER|DT_VCENTER|DT_SINGLELINE);
+ DrawText(hDC, m_szText, -1, &rect, DT_CENTER|DT_VCENTER|DT_SINGLELINE);
EndPaint(hWnd, &ps);