Michael Stefaniuc : comctl32/tests:
Specify type of function argument and remove unused arguments.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 24 04:55:28 CDT 2006
Module: wine
Branch: master
Commit: 962e97dbf315474e53341bf93d76499b7287d381
URL: http://source.winehq.org/git/wine.git/?a=commit;h=962e97dbf315474e53341bf93d76499b7287d381
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Oct 23 15:32:38 2006 +0200
comctl32/tests: Specify type of function argument and remove unused arguments.
---
dlls/comctl32/tests/toolbar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c
index 217874d..7b9697e 100644
--- a/dlls/comctl32/tests/toolbar.c
+++ b/dlls/comctl32/tests/toolbar.c
@@ -48,7 +48,7 @@ static void MakeButton(TBBUTTON *p, int
p->iString = nString;
}
-LRESULT MyWnd_Notify(hWnd, wParam, lParam)
+static LRESULT MyWnd_Notify(LPARAM lParam)
{
NMHDR *hdr = (NMHDR *)lParam;
NMTBHOTITEM *nmhi;
@@ -74,7 +74,7 @@ static LRESULT CALLBACK MyWndProc(HWND h
switch (msg)
{
case WM_NOTIFY:
- return MyWnd_Notify(hWnd, wParam, lParam);
+ return MyWnd_Notify(lParam);
}
return DefWindowProcA(hWnd, msg, wParam, lParam);
}
More information about the wine-cvs
mailing list