https://git.reactos.org/?p=reactos.git;a=commitdiff;h=125db5ead912a90f288e3f...
commit 125db5ead912a90f288e3f75fa713e27430bf4f9 Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Mon Oct 15 23:28:19 2018 +0900 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Sun Oct 21 13:08:26 2018 +0200
[REGEDIT] Trivial resizing code fix --- base/applications/regedit/framewnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/applications/regedit/framewnd.c b/base/applications/regedit/framewnd.c index 7bddbf8158..7a3682572f 100644 --- a/base/applications/regedit/framewnd.c +++ b/base/applications/regedit/framewnd.c @@ -52,8 +52,8 @@ static void resize_frame_rect(HWND hWnd, PRECT prect) if (IsWindowVisible(hStatusBar)) { SetupStatusBar(hWnd, TRUE); - GetClientRect(hStatusBar, &rt); - prect->bottom -= rt.bottom; + GetWindowRect(hStatusBar, &rt); + prect->bottom -= rt.bottom - rt.top; } MoveWindow(g_pChildWnd->hWnd, prect->left, prect->top, prect->right, prect->bottom, TRUE); }