WIXBUG:5250 Use the progress bar's image's 4th pixel for the right side.
Sean Hall committed
Jul 30, 2020 at 13:11 UTC
ebdba51558d35a295df4b36a1f55f57d86d44cf3
1 file changed
+1
-1
src/dutil/thmutil.cpp
+1
-1
@@ -3799,7 +3799,7 @@ static HRESULT DrawProgressBar(
3799
}
3800
3801
// Draw the right side of the progress bar.
3802
- ::StretchBlt(pdis->hDC, pdis->rcItem.right - 1, 0, 1, dwHeight, hdcMem, nSourceX, nSourceY, 1, dwSourceHeight, SRCCOPY);
3802
+ ::StretchBlt(pdis->hDC, pdis->rcItem.right - 1, 0, 1, dwHeight, hdcMem, nSourceX + 3, nSourceY, 1, dwSourceHeight, SRCCOPY);
3803
3804
::SelectObject(hdcMem, hDefaultBitmap);
3805
::DeleteDC(hdcMem);