[PATCH 05/11] user32: Replaced macro call with macro content.
Florian Köberle
florian at fkoeberle.de
Tue Jan 20 06:52:37 CST 2009
---
dlls/user32/winpos.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
index 54eb34b..cef5314 100644
--- a/dlls/user32/winpos.c
+++ b/dlls/user32/winpos.c
@@ -686,7 +686,7 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
MinMax.ptMaxTrackSize.x = GetSystemMetrics(SM_CXMAXTRACK);
MinMax.ptMaxTrackSize.y = GetSystemMetrics(SM_CYMAXTRACK);
- if (HAS_DLGFRAME( style, exstyle ))
+ if ((exstyle & WS_EX_DLGMODALFRAME) || ((style & WS_DLGFRAME) && !(style & WS_BORDER)))
{
xinc = GetSystemMetrics(SM_CXDLGFRAME);
yinc = GetSystemMetrics(SM_CYDLGFRAME);
--
1.5.4.3
More information about the wine-patches
mailing list