- Turn off debug print outs.

svn path=/trunk/; revision=45278
This commit is contained in:
James Tabor 2010-01-27 00:06:48 +00:00
parent 49ca1be9f3
commit 502cd1c9c9
2 changed files with 2 additions and 2 deletions

View file

@ -314,7 +314,7 @@ hGetPEBHandle(HANDLECACHETYPE Type, COLORREF cr)
{ {
if (pRgn_Attr->AttrFlags & ATTR_CACHED) if (pRgn_Attr->AttrFlags & ATTR_CACHED)
{ {
DPRINT1("Get Handle! Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[Type], NtCurrentTeb()->ProcessEnvironmentBlock); DPRINT("Get Handle! Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[Type], NtCurrentTeb()->ProcessEnvironmentBlock);
pRgn_Attr->AttrFlags &= ~ATTR_CACHED; pRgn_Attr->AttrFlags &= ~ATTR_CACHED;
hPtr[Number - 1] = NULL; hPtr[Number - 1] = NULL;
GdiHandleCache->ulNumHandles[Type]--; GdiHandleCache->ulNumHandles[Type]--;

View file

@ -760,7 +760,7 @@ bPEBCacheHandle(HGDIOBJ Handle, int oType, PVOID pAttr)
((PRGN_ATTR)pAttr)->AttrFlags |= ATTR_CACHED; ((PRGN_ATTR)pAttr)->AttrFlags |= ATTR_CACHED;
hPtr[Number] = Handle; hPtr[Number] = Handle;
GdiHandleCache->ulNumHandles[oType]++; GdiHandleCache->ulNumHandles[oType]++;
DPRINT1("Put Handle Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[oType], NtCurrentTeb()->ProcessEnvironmentBlock); DPRINT("Put Handle Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[oType], NtCurrentTeb()->ProcessEnvironmentBlock);
Ret = TRUE; Ret = TRUE;
} }
} }