[PATCH 07/11] user32: Removed code without effect.

Florian Köberle florian at fkoeberle.de
Tue Jan 20 06:52:39 CST 2009


---
 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 9eed61f..a9f0158 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);
-- 
1.5.4.3




More information about the wine-patches mailing list