diff --git a/dlls/ieframe/iexplore.c b/dlls/ieframe/iexplore.c index 5b58aa2c46e..11b79adcc4c 100644 --- a/dlls/ieframe/iexplore.c +++ b/dlls/ieframe/iexplore.c @@ -73,8 +73,7 @@ static void adjust_ie_docobj_rect(HWND frame, RECT* rc) HWND hwndStatus = GetDlgItem(frame, IDC_BROWSE_STATUSBAR); INT barHeight = SendMessageW(hwndRebar, RB_GETBARHEIGHT, 0, 0); - rc->top += barHeight; - rc->bottom -= barHeight; + InflateRect(rc, 0, -barHeight); if(IsWindowVisible(hwndStatus)) {