mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix logic in IntGdiDeleteDC with permanent set.
svn path=/trunk/; revision=31876
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user