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:
Jérôme Gardou 2010-03-28 22:27:57 +00:00
parent f6b83e4f45
commit 1541aa6f43

View file

@ -173,6 +173,8 @@ DC_vRestoreDC(
/* Prevent save dc from being restored */ /* Prevent save dc from being restored */
pdcSave->dclevel.lSaveDepth = 1; pdcSave->dclevel.lSaveDepth = 1;
/* Unlock it */
DC_UnlockDc(pdcSave);
/* Delete the saved dc */ /* Delete the saved dc */
GreDeleteObject(hdcSave); GreDeleteObject(hdcSave);
} }