comctl32: Remove unused last parameter from TOOLTIPS_EnumToolsT.

Gerald Pfeifer gerald at pfeifer.com
Sun Aug 22 15:51:18 CDT 2010


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

diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 688d3b5..d17f067 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -1177,8 +1177,7 @@ TOOLTIPS_DelToolT (TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *ti, BOOL isW)
 }
 
 static LRESULT
-TOOLTIPS_EnumToolsT (const TOOLTIPS_INFO *infoPtr, UINT uIndex, TTTOOLINFOW *ti,
-                     BOOL isW)
+TOOLTIPS_EnumToolsT (const TOOLTIPS_INFO *infoPtr, UINT uIndex, TTTOOLINFOW *ti)
 {
     TTTOOL_INFO *toolPtr;
 
@@ -2176,8 +2175,7 @@ TOOLTIPS_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
                                       uMsg == TTM_DELTOOLW);
 	case TTM_ENUMTOOLSA:
 	case TTM_ENUMTOOLSW:
-	    return TOOLTIPS_EnumToolsT (infoPtr, (UINT)wParam, (LPTTTOOLINFOW)lParam,
-                                        uMsg == TTM_ENUMTOOLSW);
+	    return TOOLTIPS_EnumToolsT (infoPtr, (UINT)wParam, (LPTTTOOLINFOW)lParam);
 	case TTM_GETBUBBLESIZE:
 	    return TOOLTIPS_GetBubbleSize (infoPtr, (LPTTTOOLINFOW)lParam);
 
-- 
1.6.6.2



More information about the wine-patches mailing list