From 4c9756e422b15809aabe75e307ddeabc82f267ac Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Sun, 22 Aug 2004 22:26:22 +0000 Subject: [PATCH] Y coordinate of the "magic" static control should be treated inclusively. --- dlls/commdlg/filedlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/commdlg/filedlg.c b/dlls/commdlg/filedlg.c index 9422ce6170a..6494edea5d9 100644 --- a/dlls/commdlg/filedlg.c +++ b/dlls/commdlg/filedlg.c @@ -589,7 +589,7 @@ static void ArrangeCtrlPositions(HWND hwndChildDlg, HWND hwndParentDlg, BOOL hid 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; -- 2.11.4.GIT