Author: jgardou Date: Mon Mar 29 00:27:57 2010 New Revision: 46530
URL: http://svn.reactos.org/svn/reactos?rev=46530&view=rev Log: [WIN32K] Close another pair of DC_LockDC/DC_UnlockDC
Now gdi32:dc winetests doesn't crash anymore.
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win3... ============================================================================== --- branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c [iso-8859-1] (original) +++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c [iso-8859-1] Mon Mar 29 00:27:57 2010 @@ -173,6 +173,8 @@ /* Prevent save dc from being restored */ pdcSave->dclevel.lSaveDepth = 1;
+ /* Unlock it */ + DC_UnlockDc(pdcSave); /* Delete the saved dc */ GreDeleteObject(hdcSave); }