Commit 412cd04c authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

wordpad: Remove unused parameter for preview_command().

parent 787361d3
......@@ -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))
{
......
......@@ -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 );
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment