Author: jimtabor Date: Sat Jan 19 02:07:14 2008 New Revision: 31880
URL: http://svn.reactos.org/svn/reactos?rev=31880&view=rev Log: Enable
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/obj... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/dc.c (original) +++ trunk/reactos/subsystems/win32/win32k/objects/dc.c Sat Jan 19 02:07:14 2008 @@ -1,3 +1,4 @@ + /* * ReactOS W32 Subsystem * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team @@ -927,7 +928,6 @@ FASTCALL IntGdiDeleteDC(HDC hDC, BOOL Force) { - BOOL Ret = FALSE; PDC DCToDelete = DC_LockDc(hDC);
if (DCToDelete == NULL) @@ -942,8 +942,7 @@ { DPRINT1("No! You Naughty Application!\n"); DC_UnlockDc( DCToDelete ); -// if(!UserReleaseDC(NULL, hDC, FALSE)) Ret = FALSE; - return Ret; + return UserReleaseDC(NULL, hDC, FALSE); } }