Y coordinate of the "magic" static control should be treated inclusively

Dmitry Timoshkov dmitry at baikal.ru
Sun Aug 22 01:00:35 CDT 2004


Hello,

this patch fixes an app which has y coordinate of the "magic" static
control equal to y coordinate of another control element.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Y coordinate of the "magic" static control should be treated inclusively.

--- cvs/hq/wine/dlls/commdlg/filedlg.c	2004-08-17 13:49:34.000000000 +0900
+++ wine/dlls/commdlg/filedlg.c	2004-08-22 14:20:46.000000000 +0900
@@ -589,7 +589,7 @@ static void ArrangeCtrlPositions(HWND hw
                 child_width_fixup = rectChild.left - old_left;
             }
             /* move even if stc32 doesn't exist */
-            if (rectChild.top > rectStc32.bottom)
+            if (rectChild.top >= rectStc32.bottom)
             {
                 LONG old_top = rectChild.top;
 






More information about the wine-patches mailing list