From ebdba51558d35a295df4b36a1f55f57d86d44cf3 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Thu, 30 Jul 2020 13:11:28 -0600 Subject: WIXBUG:5250 Use the progress bar's image's 4th pixel for the right side. --- src/dutil/thmutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dutil/thmutil.cpp b/src/dutil/thmutil.cpp index b9335469..3cdc09e3 100644 --- a/src/dutil/thmutil.cpp +++ b/src/dutil/thmutil.cpp @@ -3799,7 +3799,7 @@ static HRESULT DrawProgressBar( } // Draw the right side of the progress bar. - ::StretchBlt(pdis->hDC, pdis->rcItem.right - 1, 0, 1, dwHeight, hdcMem, nSourceX, nSourceY, 1, dwSourceHeight, SRCCOPY); + ::StretchBlt(pdis->hDC, pdis->rcItem.right - 1, 0, 1, dwHeight, hdcMem, nSourceX + 3, nSourceY, 1, dwSourceHeight, SRCCOPY); ::SelectObject(hdcMem, hDefaultBitmap); ::DeleteDC(hdcMem); -- cgit v1.2.3-55-g6feb