wordpad: Pass correct parameters to WM_SIZE message handler.
This commit is contained in:
parent
3a934e7323
commit
da88293338
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue