comctl32: Do not call HEADER_FillItemFrame twice in a row.

This commit is contained in:
Mark Harmstone 2015-02-17 22:35:27 +00:00 committed by Alexandre Julliard
parent 656bc70f80
commit 6a8da85c3b
1 changed files with 0 additions and 3 deletions

View File

@ -392,10 +392,7 @@ HEADER_DrawItem (HEADER_INFO *infoPtr, HDC hdc, INT iItem, BOOL bHotTrack, LRESU
if (ret) return phdi->rect.right;
}
else
{
HEADER_FillItemFrame(infoPtr, hdc, &r, phdi, bHotTrack);
HEADER_DrawItemFrame(infoPtr, hdc, &r, phdi);
}
if (phdi->bDown) {
r.left += 2;