- apply r47787 to yarotows

svn path=/branches/reactos-yarotows/; revision=47797
This commit is contained in:
Jérôme Gardou 2010-06-17 01:34:52 +00:00
parent 648fe9cf65
commit 3dbb216746

View file

@ -299,6 +299,16 @@ NtGdiSelectBitmap(
psurfBmp->SurfObj.sizlBitmap.cx,
psurfBmp->SurfObj.sizlBitmap.cy);
if (psurfBmp->hSecure)
{
/* Set DIBSECTION attribute */
pdcattr->ulDirty_ |= DC_DIBSECTION;
}
else
{
pdcattr->ulDirty_ &= ~DC_DIBSECTION;
}
/* Release the exclusive lock */
SURFACE_UnlockSurface(psurfBmp);