- Fix bitmap tests.

svn path=/trunk/; revision=38102
This commit is contained in:
James Tabor 2008-12-15 05:48:22 +00:00
parent 8a3fedace3
commit 58d352809d

View file

@ -1019,7 +1019,7 @@ NtGdiStretchDIBitsInternal(
}
hBitmap = NtGdiCreateCompatibleBitmap( hDC,
BitsInfo->bmiHeader.biWidth,
abs(BitsInfo->bmiHeader.biWidth),
abs(BitsInfo->bmiHeader.biHeight));
if (hBitmap == NULL)
{
@ -1532,7 +1532,7 @@ DIB_CreateDIBSection(
*bits = bm.bmBits;
}
if (res) pDc_Attr->ulDirty_ |= DC_DIBSECTION;
// if (res) pDc_Attr->ulDirty_ |= DC_DIBSECTION;
return res;
}