From 6a8da85c3bcee29d4c7fcb9f96e4ec20b4e9426c Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Tue, 17 Feb 2015 22:35:27 +0000 Subject: [PATCH] comctl32: Do not call HEADER_FillItemFrame twice in a row. --- dlls/comctl32/header.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c index ac924fd8396..59f2c1249b2 100644 --- a/dlls/comctl32/header.c +++ b/dlls/comctl32/header.c @@ -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;