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

commit 7624a987063888e275c18a9e8c10c01a19b971a1
Author:     Doug Lyons <[email protected]>
AuthorDate: Sun Sep 6 11:08:03 2020 -0500
Commit:     GitHub <[email protected]>
CommitDate: Sun Sep 6 18:08:03 2020 +0200

    [GDI32] Fix double cx's in call to HANDLE_METADC in win32ss painting.c 
(#3137)
    
    Fix copy-paste error.
---
 win32ss/gdi/gdi32/objects/painting.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/win32ss/gdi/gdi32/objects/painting.c 
b/win32ss/gdi/gdi32/objects/painting.c
index 2f9564ceb22..17f64b8b384 100644
--- a/win32ss/gdi/gdi32/objects/painting.c
+++ b/win32ss/gdi/gdi32/objects/painting.c
@@ -469,12 +469,12 @@ BitBlt(
                   xDest,
                   yDest,
                   cx,
-                  cx,
+                  cy,
                   hdcSrc,
                   xSrc,
                   ySrc,
                   cx,
-                  cx,
+                  cy,
                   dwRop);
 
     if ( GdiConvertAndCheckDC(hdcDest) == NULL ) return FALSE;

Reply via email to