comctl32: Shed an unused parameter of TOOLTIPS_HitTestT and rename to TOOLTIPS_HitTest.
Gerald Pfeifer
gerald at pfeifer.com
Sat Feb 26 14:01:55 CST 2011
---
dlls/comctl32/tooltips.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index a2e58e0..445845c 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -1396,8 +1396,7 @@ TOOLTIPS_GetToolInfoT (const TOOLTIPS_INFO *infoPtr, TTTOOLINFOW *ti, BOOL isW)
static LRESULT
-TOOLTIPS_HitTestT (const TOOLTIPS_INFO *infoPtr, LPTTHITTESTINFOW lptthit,
- BOOL isW)
+TOOLTIPS_HitTest (const TOOLTIPS_INFO *infoPtr, LPTTHITTESTINFOW lptthit)
{
TTTOOL_INFO *toolPtr;
INT nTool;
@@ -2209,8 +2208,8 @@ TOOLTIPS_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case TTM_HITTESTA:
case TTM_HITTESTW:
- return TOOLTIPS_HitTestT (infoPtr, (LPTTHITTESTINFOW)lParam,
- uMsg == TTM_HITTESTW);
+ return TOOLTIPS_HitTest (infoPtr, (LPTTHITTESTINFOW)lParam);
+
case TTM_NEWTOOLRECTA:
case TTM_NEWTOOLRECTW:
return TOOLTIPS_NewToolRectT (infoPtr, (LPTTTOOLINFOW)lParam);
--
1.7.4.1
More information about the wine-patches
mailing list