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:
Michael Stefaniuc 2016-07-01 10:40:37 +02:00 committed by Alexandre Julliard
parent fe2f34a5c7
commit 1f74c0a0d1
1 changed files with 1 additions and 6 deletions

View File

@ -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
{