Commit d5b0e98e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

hhctrl: Use SetRect() instead of open coding it.

parent 79a9010e
......@@ -412,10 +412,7 @@ static void SB_GetSizeBarRect(HHInfo *info, RECT *rc)
GetClientRect(info->WinType.hwndToolBar, &rectTB);
GetClientRect(info->WinType.hwndNavigation, &rectNP);
rc->left = rectNP.right;
rc->top = rectTB.bottom;
rc->bottom = rectWND.bottom - rectTB.bottom;
rc->right = SIZEBAR_WIDTH;
SetRect(rc, rectNP.right, rectTB.bottom, SIZEBAR_WIDTH, rectWND.bottom - rectTB.bottom);
}
static BOOL HH_AddSizeBar(HHInfo *pHHInfo)
......
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