comctl32: Use InflateRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fe2f34a5c7
commit
1f74c0a0d1
|
@ -1609,12 +1609,7 @@ TAB_DrawItemInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
drawRect->left += 2;
|
||||
drawRect->top += 2;
|
||||
drawRect->right -= 2;
|
||||
drawRect->bottom -= 2;
|
||||
}
|
||||
InflateRect(drawRect, -2, -2);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue