gdi32: Always use a HANDLE for GDI_ReleaseObj.
This commit is contained in:
parent
56245243f0
commit
bc72f9965d
|
@ -1445,7 +1445,7 @@ WORD WINAPI SetHookFlags( HDC hdc, WORD flags )
|
|||
else if (flags & DCHF_VALIDATEVISRGN || !flags)
|
||||
ret = InterlockedExchange( &dc->dirty, 0 );
|
||||
|
||||
GDI_ReleaseObj( dc );
|
||||
GDI_ReleaseObj( hdc );
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue