Fix logic in IntGdiDeleteDC with permanent set.

svn path=/trunk/; revision=31876
This commit is contained in:
James Tabor 2008-01-18 18:10:42 +00:00
parent 126214d889
commit e51a783417

View file

@ -941,8 +941,8 @@ IntGdiDeleteDC(HDC hDC, BOOL Force)
if (DCToDelete->DC_Flags & DC_FLAG_PERMANENT)
{
DPRINT1("No! You Naughty Application!\n");
// if(!UserReleaseDC(NULL, hDC, FALSE)) Ret = FALSE;
DC_UnlockDc( DCToDelete );
// if(!UserReleaseDC(NULL, hDC, FALSE)) Ret = FALSE;
return Ret;
}
}