Module: wine Branch: master Commit: 6eb33b932e4cd832ac34be42b777ec78984f210a URL: http://source.winehq.org/git/wine.git/?a=commit;h=6eb33b932e4cd832ac34be42b7...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Sat Dec 27 08:57:44 2008 +0100
comctl32: Simplify NATIVEFONT_Create.
---
dlls/comctl32/nativefont.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/nativefont.c b/dlls/comctl32/nativefont.c index 26347a3..2e11a9e 100644 --- a/dlls/comctl32/nativefont.c +++ b/dlls/comctl32/nativefont.c @@ -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 uMsg, WPARAM wParam, LPARAM lParam) switch (uMsg) { case WM_CREATE: - return NATIVEFONT_Create (hwnd, wParam, lParam); + return NATIVEFONT_Create (hwnd);
case WM_DESTROY: return NATIVEFONT_Destroy (infoPtr);