Commit 79a9010e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ieframe: Use InflateRect() instead of open coding it.

parent 6eef44ed
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment