Commit 4487f85e authored by Florian Köberle's avatar Florian Köberle Committed by Alexandre Julliard

user32: Removed code without effect.

parent 8784702d
...@@ -676,9 +676,6 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, ...@@ -676,9 +676,6 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
GetClientRect(GetAncestor(hwnd,GA_PARENT), &rc); GetClientRect(GetAncestor(hwnd,GA_PARENT), &rc);
AdjustWindowRectEx(&rc, style, ((style & WS_POPUP) && GetMenu(hwnd)), exstyle); AdjustWindowRectEx(&rc, style, ((style & WS_POPUP) && GetMenu(hwnd)), exstyle);
/* avoid calculating this twice */
style &= ~(WS_DLGFRAME | WS_BORDER | WS_THICKFRAME);
MinMax.ptMaxSize.x = rc.right - rc.left; MinMax.ptMaxSize.x = rc.right - rc.left;
MinMax.ptMaxSize.y = rc.bottom - rc.top; MinMax.ptMaxSize.y = rc.bottom - rc.top;
MinMax.ptMinTrackSize.x = GetSystemMetrics(SM_CXMINTRACK); MinMax.ptMinTrackSize.x = GetSystemMetrics(SM_CXMINTRACK);
......
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