Commit da882933 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

wordpad: Pass correct parameters to WM_SIZE message handler.

parent 3a934e73
......@@ -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)
......
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