Skip to content
Snippets Groups Projects
Commit 6a8da85c authored by Mark Harmstone's avatar Mark Harmstone Committed by Alexandre Julliard
Browse files

comctl32: Do not call HEADER_FillItemFrame twice in a row.

parent 656bc70f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment