Skip to content
Snippets Groups Projects
Commit da882933 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

wordpad: Pass correct parameters to WM_SIZE message handler.

parent 3a934e73
No related branches found
No related tags found
No related merge requests found
......@@ -595,9 +595,9 @@ static void update_window(void)
{
RECT rect;
GetWindowRect(hMainWnd, &rect);
GetClientRect(hMainWnd, &rect);
(void) OnSize(hMainWnd, SIZE_RESTORED, MAKELONG(rect.bottom, rect.right));
OnSize(hMainWnd, SIZE_RESTORED, MAKELPARAM(rect.right, rect.bottom));
}
static BOOL is_bar_visible(int bandId)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment