Author: jimtabor
Date: Sun Nov 18 18:52:31 2007
New Revision: 30550
URL:
http://svn.reactos.org/svn/reactos?rev=30550&view=rev
Log:
Fix dprint.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/windc.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/windc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/windc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/windc.c Sun Nov 18 18:52:31 2007
@@ -157,8 +157,8 @@
}
else
{
+ PDC dc = DC_LockDc ( pDce->hDC );
DPRINT("FREE DCATTR!!!! NOT DCE_WINDOW_DC!!!!! hDC-> %x\n",
pDce->hDC);
- PDC dc = DC_LockDc ( pDce->hDC );
MmCopyFromCaller(&dc->Dc_Attr, dc->pDc_Attr, sizeof(DC_ATTR));
DC_UnlockDc( dc );
DC_FreeDcAttr(pDce->hDC); // Free the dcattr!