winex11: Fix typo in X11DRV_SetDIBits optimization.

This commit is contained in:
Mathias Kosch 2008-07-17 22:17:13 +02:00 committed by Alexandre Julliard
parent 978a931781
commit f296f27e96
1 changed files with 1 additions and 1 deletions

View File

@ -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 );