mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +00:00
[WIN32K]
Close another pair of DC_LockDC/DC_UnlockDC Now gdi32:dc winetests doesn't crash anymore. svn path=/branches/reactos-yarotows/; revision=46530
This commit is contained in:
parent
f6b83e4f45
commit
1541aa6f43
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ DC_vRestoreDC(
|
|||
/* Prevent save dc from being restored */
|
||||
pdcSave->dclevel.lSaveDepth = 1;
|
||||
|
||||
/* Unlock it */
|
||||
DC_UnlockDc(pdcSave);
|
||||
/* Delete the saved dc */
|
||||
GreDeleteObject(hdcSave);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue