From 412cd04cfc0e22d5a9a41c9672d0e3f19f3f469d Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 22 Jul 2008 12:04:08 +0200 Subject: [PATCH] wordpad: Remove unused parameter for preview_command(). --- programs/wordpad/print.c | 2 +- programs/wordpad/wordpad.c | 2 +- programs/wordpad/wordpad.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/wordpad/print.c b/programs/wordpad/print.c index c0cd182d17e..933c8b845d6 100644 --- a/programs/wordpad/print.c +++ b/programs/wordpad/print.c @@ -814,7 +814,7 @@ void update_preview(HWND hWnd) InvalidateRect(hWnd, &rc, TRUE); } -LRESULT preview_command(HWND hWnd, WPARAM wParam, LPARAM lParam) +LRESULT preview_command(HWND hWnd, WPARAM wParam) { switch(LOWORD(wParam)) { diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c index be6bb8be55a..d98758aa880 100644 --- a/programs/wordpad/wordpad.c +++ b/programs/wordpad/wordpad.c @@ -2467,7 +2467,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara case WM_COMMAND: if(preview_isactive()) { - return preview_command( hWnd, wParam, lParam ); + return preview_command( hWnd, wParam ); } return OnCommand( hWnd, wParam, lParam ); diff --git a/programs/wordpad/wordpad.h b/programs/wordpad/wordpad.h index 96b2a25893f..9f093b32a79 100644 --- a/programs/wordpad/wordpad.h +++ b/programs/wordpad/wordpad.h @@ -204,7 +204,7 @@ void dialog_printsetup(HWND); void dialog_print(HWND, LPWSTR); void target_device(HWND, DWORD); void print_quick(LPWSTR); -LRESULT preview_command(HWND, WPARAM, LPARAM); +LRESULT preview_command(HWND, WPARAM); void init_preview(HWND, LPWSTR); void close_preview(HWND); BOOL preview_isactive(void);