wordpad: Remove unused parameter for preview_command().

This commit is contained in:
Gerald Pfeifer 2008-07-22 12:04:08 +02:00 committed by Alexandre Julliard
parent 787361d361
commit 412cd04cfc
3 changed files with 3 additions and 3 deletions

View file

@ -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))
{

View file

@ -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 );

View file

@ -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);