Author: jimtabor
Date: Sun Dec 14 23:48:22 2008
New Revision: 38102
URL:
http://svn.reactos.org/svn/reactos?rev=38102&view=rev
Log:
- Fix bitmap tests.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dibobj.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dibobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] Sun Dec 14
23:48:22 2008
@@ -1019,7 +1019,7 @@
}
hBitmap = NtGdiCreateCompatibleBitmap( hDC,
- BitsInfo->bmiHeader.biWidth,
+ abs(BitsInfo->bmiHeader.biWidth),
abs(BitsInfo->bmiHeader.biHeight));
if (hBitmap == NULL)
{
@@ -1532,7 +1532,7 @@
*bits = bm.bmBits;
}
- if (res) pDc_Attr->ulDirty_ |= DC_DIBSECTION;
+// if (res) pDc_Attr->ulDirty_ |= DC_DIBSECTION;
return res;
}