mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Prevent crash in gdibatch.
svn path=/trunk/; revision=31111
This commit is contained in:
parent
709089678a
commit
9f375e0914
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ GdiFlushUserBatch(HDC hDC, PGDIBATCHHDR pHdr)
|
||||||
{
|
{
|
||||||
PDC dc = NULL;
|
PDC dc = NULL;
|
||||||
PDC_ATTR Dc_Attr = NULL;
|
PDC_ATTR Dc_Attr = NULL;
|
||||||
if (hDC)
|
if (hDC && !IsObjectDead(hDC))
|
||||||
{
|
{
|
||||||
dc = DC_LockDc(hDC);
|
dc = DC_LockDc(hDC);
|
||||||
if (dc)
|
if (dc)
|
||||||
|
|
Loading…
Reference in a new issue