https://git.reactos.org/?p=reactos.git;a=commitdiff;h=657887adf41e1b5df0cab…
commit 657887adf41e1b5df0cab35ce07a906ce5ef6265
Author: Katayma Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Nov 16 11:21:16 2019 +0900
Commit: Katayma Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Nov 16 11:21:16 2019 +0900
[USER32] Fix DM_REPOSITION (rc.bottom minus 4)
---
win32ss/user/user32/windows/dialog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32ss/user/user32/windows/dialog.c b/win32ss/user/user32/windows/dialog.c
index 592e696e755..3a88800a810 100644
--- a/win32ss/user/user32/windows/dialog.c
+++ b/win32ss/user/user32/windows/dialog.c
@@ -1203,9 +1203,9 @@ static void DEFDLG_Reposition(HWND hwnd)
rc.right = mi.rcWork.right;
rc.left = rc.right - siz.cx;
}
- if (rc.bottom > mi.rcWork.bottom)
+ if (rc.bottom > mi.rcWork.bottom - 4)
{
- rc.bottom = mi.rcWork.bottom;
+ rc.bottom = mi.rcWork.bottom - 4;
rc.top = rc.bottom - siz.cy;
}