Gerald Pfeifer : comctl32: Remove the last, unused parameter fromTOOLTIPS_NewToolRectT.

Alexandre Julliard julliard at winehq.org
Fri Nov 5 13:47:17 CDT 2010


Module: wine
Branch: master
Commit: 7312981cf5f6d4f6e165fc6f29dc68239f8fb30d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7312981cf5f6d4f6e165fc6f29dc68239f8fb30d

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Nov  5 00:03:08 2010 +0100

comctl32: Remove the last, unused parameter fromTOOLTIPS_NewToolRectT.

---

 dlls/comctl32/tooltips.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 5b48d38..5951796 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -1430,7 +1430,7 @@ TOOLTIPS_HitTestT (const TOOLTIPS_INFO *infoPtr, LPTTHITTESTINFOW lptthit,
 
 
 static LRESULT
-TOOLTIPS_NewToolRectT (TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *ti, BOOL isW)
+TOOLTIPS_NewToolRectT (TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *ti)
 {
     INT nTool;
 
@@ -2212,8 +2212,8 @@ TOOLTIPS_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
                                       uMsg == TTM_HITTESTW);
 	case TTM_NEWTOOLRECTA:
 	case TTM_NEWTOOLRECTW:
-	    return TOOLTIPS_NewToolRectT (infoPtr, (LPTTTOOLINFOW)lParam,
-                                          uMsg == TTM_NEWTOOLRECTW);
+	    return TOOLTIPS_NewToolRectT (infoPtr, (LPTTTOOLINFOW)lParam);
+
 	case TTM_POP:
 	    return TOOLTIPS_Pop (infoPtr);
 




More information about the wine-cvs mailing list