aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-07-30 13:11:28 -0600
committerSean Hall <r.sean.hall@gmail.com>2020-08-09 10:27:40 -0600
commitebdba51558d35a295df4b36a1f55f57d86d44cf3 (patch)
tree62df6a1a1b24694642a4e66dda7d7d8a43196c96
parent5816f9e2585822f7b6140fddc405d30f2a4b381d (diff)
downloadwix-ebdba51558d35a295df4b36a1f55f57d86d44cf3.tar.gz
wix-ebdba51558d35a295df4b36a1f55f57d86d44cf3.tar.bz2
wix-ebdba51558d35a295df4b36a1f55f57d86d44cf3.zip
WIXBUG:5250 Use the progress bar's image's 4th pixel for the right side.
-rw-r--r--src/dutil/thmutil.cpp2
1 files changed, 1 insertions, 1 deletions
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(
3799 } 3799 }
3800 3800
3801 // Draw the right side of the progress bar. 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 3803
3804 ::SelectObject(hdcMem, hDefaultBitmap); 3804 ::SelectObject(hdcMem, hDefaultBitmap);
3805 ::DeleteDC(hdcMem); 3805 ::DeleteDC(hdcMem);