mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
Fix logic in IntGdiDeleteDC with permanent set.
svn path=/trunk/; revision=31876
This commit is contained in:
parent
126214d889
commit
e51a783417
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue