winedbg: Also adjust the detailed crash dialog controls when maximized.

This commit is contained in:
André Hentschel 2012-01-18 22:03:59 +01:00 committed by Alexandre Julliard
parent bee9adbd05
commit c8dd507b62

View file

@ -310,7 +310,7 @@ static INT_PTR WINAPI details_dlg_proc( HWND hwnd, UINT msg, WPARAM wparam, LPAR
return TRUE;
case WM_SIZE:
if (wparam == SIZE_RESTORED)
if (wparam == SIZE_RESTORED || wparam == SIZE_MAXIMIZED)
{
int off_x = (short)LOWORD( lparam ) - orig_size.x;
int off_y = (short)HIWORD( lparam ) - orig_size.y;