Florian Köberle : user32: Removed code without effect.

Alexandre Julliard julliard at winehq.org
Fri Jan 23 10:07:00 CST 2009


Module: wine
Branch: master
Commit: 4487f85e5878e7aa43da6b73375a2d93b036c7d6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4487f85e5878e7aa43da6b73375a2d93b036c7d6

Author: Florian Köberle <florian at 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);




More information about the wine-cvs mailing list