Alexandre Julliard : gdi32: Fix coordinates for row copies in mirrored vertical stretching.

Alexandre Julliard julliard at winehq.org
Tue Apr 24 13:14:41 CDT 2012


Module: wine
Branch: master
Commit: 9674011d75d7cca38dd514d13953748ce98329fe
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9674011d75d7cca38dd514d13953748ce98329fe

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr 24 12:38:09 2012 +0200

gdi32: Fix coordinates for row copies in mirrored vertical stretching.

---

 dlls/gdi32/dibdrv/bitblt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/dibdrv/bitblt.c b/dlls/gdi32/dibdrv/bitblt.c
index 7836899..2d088c3 100644
--- a/dlls/gdi32/dibdrv/bitblt.c
+++ b/dlls/gdi32/dibdrv/bitblt.c
@@ -1211,7 +1211,7 @@ DWORD stretch_bitmapinfo( const BITMAPINFO *src_info, void *src_bits, struct bit
             else
             {
                 last_row.top = dst_start.y - v_params.dst_inc;
-                last_row.bottom = dst_start.y;
+                last_row.bottom = last_row.top + 1;
                 this_row = last_row;
                 offset_rect( &this_row, 0, v_params.dst_inc );
                 copy_rect( &dst_dib, &this_row, &dst_dib, &last_row, NULL, R2_COPYPEN );




More information about the wine-cvs mailing list