Module: wine Branch: master Commit: 4487f85e5878e7aa43da6b73375a2d93b036c7d6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4487f85e5878e7aa43da6b7337...
Author: Florian Köberle florian@fkoeberle.de Date: Tue Jan 20 13:52:39 2009 +0100
user32: Removed code without effect.
---
dlls/user32/winpos.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c index 4be6a62..6317005 100644 --- a/dlls/user32/winpos.c +++ b/dlls/user32/winpos.c @@ -676,9 +676,6 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, GetClientRect(GetAncestor(hwnd,GA_PARENT), &rc); 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.y = rc.bottom - rc.top; MinMax.ptMinTrackSize.x = GetSystemMetrics(SM_CXMINTRACK);