Simplify dlls/comctl32/nativefont.c
Gerald Pfeifer
gerald at pfeifer.com
Sat Dec 27 01:57:44 CST 2008
ChangeLog:
Simplify NATIVEFONT_Create.
Index: dlls/comctl32/nativefont.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/nativefont.c,v
retrieving revision 1.29
diff -u -3 -p -r1.29 nativefont.c
--- dlls/comctl32/nativefont.c 24 Oct 2008 13:13:47 -0000 1.29
+++ dlls/comctl32/nativefont.c 27 Dec 2008 07:57:10 -0000
@@ -47,7 +47,7 @@ typedef struct
#define NATIVEFONT_GetInfoPtr(hwnd) ((NATIVEFONT_INFO *)GetWindowLongPtrW (hwnd, 0))
static LRESULT
-NATIVEFONT_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
+NATIVEFONT_Create (HWND hwnd)
{
NATIVEFONT_INFO *infoPtr;
@@ -85,7 +85,7 @@ NATIVEFONT_WindowProc (HWND hwnd, UINT u
switch (uMsg)
{
case WM_CREATE:
- return NATIVEFONT_Create (hwnd, wParam, lParam);
+ return NATIVEFONT_Create (hwnd);
case WM_DESTROY:
return NATIVEFONT_Destroy (infoPtr);
More information about the wine-patches
mailing list