mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
Release GDI lock before calling DeleteDC from RestoreDC.
This commit is contained in:
parent
3954117ce4
commit
717433854e
@ -524,7 +524,9 @@ BOOL WINAPI RestoreDC( HDC hdc, INT level )
|
||||
success=FALSE;
|
||||
}
|
||||
GDI_ReleaseObj( hdcs );
|
||||
GDI_ReleaseObj( hdc );
|
||||
DeleteDC( hdcs );
|
||||
if (!(dc = DC_GetDCPtr( hdc ))) return FALSE;
|
||||
}
|
||||
GDI_ReleaseObj( hdc );
|
||||
return success;
|
||||
|
Loading…
x
Reference in New Issue
Block a user