Mathias Kosch : winex11: Fix typo in X11DRV_SetDIBits optimization.
Alexandre Julliard
julliard at winehq.org
Fri Jul 18 06:46:28 CDT 2008
Module: wine
Branch: master
Commit: f296f27e96d71d713f6a13eb1b7dfb5f5c5deab4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f296f27e96d71d713f6a13eb1b7dfb5f5c5deab4
Author: Mathias Kosch <info at mkosch.de>
Date: Thu Jul 17 22:17:13 2008 +0200
winex11: Fix typo in X11DRV_SetDIBits optimization.
---
dlls/winex11.drv/dib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c
index b816601..6fddb0a 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 );
More information about the wine-cvs
mailing list