https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fdba69be7c64d4a46d977a1219d3f1c94115831f

commit fdba69be7c64d4a46d977a1219d3f1c94115831f
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Mon Jun 19 10:11:35 2023 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Mon Jun 19 10:11:35 2023 +0900

    [MSPAINT] Follow-up Part 2 of Realize Masked Skew (96d3883)
    
    CORE-18867
---
 base/applications/mspaint/selectionmodel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/applications/mspaint/selectionmodel.cpp 
b/base/applications/mspaint/selectionmodel.cpp
index 609d2ffd59c..e14adddc0c2 100644
--- a/base/applications/mspaint/selectionmodel.cpp
+++ b/base/applications/mspaint/selectionmodel.cpp
@@ -378,7 +378,7 @@ void SelectionModel::StretchSkew(int nStretchPercentX, int 
nStretchPercentY, int
         hbmOld = ::SelectObject(hDC, m_hbmColor);
         hbmColor = SkewDIB(hDC, m_hbmColor, nSkewDegY, TRUE);
         ::SelectObject(hDC, m_hbmMask);
-        hbmMask = SkewDIB(hDC, m_hbmColor, nSkewDegY, TRUE, TRUE);
+        hbmMask = SkewDIB(hDC, m_hbmMask, nSkewDegY, TRUE, TRUE);
         ::SelectObject(hDC, hbmOld);
         InsertFromHBITMAP(hbmColor, m_rc.left, m_rc.top, hbmMask);
         ::DeleteObject(hbmColor);

Reply via email to