mirror of
https://github.com/reactos/wine.git
synced 2024-12-03 09:20:56 +00:00
comctl32: Do not call HEADER_FillItemFrame twice in a row.
This commit is contained in:
parent
656bc70f80
commit
6a8da85c3b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user