[pkg-wine-party] [SCM] Debian Wine packaging branch, lenny, updated. wine-1.0.0-1-126-gccc5cbd

Alexandre Julliard julliard at winehq.org
Thu Oct 30 14:43:43 UTC 2008


The following commit has been merged in the lenny branch:
commit d99ad3caeaaf4f675d3c883dbfe7c7e6c46a3b33
Author: Mathias Kosch <info at mkosch.de>
Date:   Thu Jul 17 22:17:13 2008 +0200

    winex11: Fix typo in X11DRV_SetDIBits optimization.
    (cherry picked from commit f296f27e96d71d713f6a13eb1b7dfb5f5c5deab4)

diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c
index 4b287ea..7d050cc 100644
--- a/dlls/winex11.drv/dib.c
+++ b/dlls/winex11.drv/dib.c
@@ -3998,7 +3998,7 @@ INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan,
       TRACE("syncing compatible set bits to app bits\n");
       if ((tmpheight < 0) ^ (bitmap.bmHeight < 0))
       {
-          dbits = (LPBYTE)bits + (dstwidthb * (lines-1));
+          dbits += dstwidthb * (lines-1);
           dstwidthb = -dstwidthb;
       }
 	  X11DRV_DIB_DoProtectDIBSection( physBitmap, PAGE_READWRITE );

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list