Remove one more DPRINTF

Dimitrie O. Paun dpaun at rogers.com
Sat Jan 29 16:59:02 CST 2005


ChangeLog
    Replace a DPRINTF with TRACE.


Index: windows/dce.c
===================================================================
RCS file: /var/cvs/wine/windows/dce.c,v
retrieving revision 1.85
diff -u -r1.85 dce.c
--- windows/dce.c	12 Jan 2005 19:57:08 -0000	1.85
+++ windows/dce.c	14 Jan 2005 05:38:18 -0000
@@ -57,16 +57,13 @@
     DCE *dce;
 
     USER_Lock();
-    dce = firstDCE;
 
-    DPRINTF("DCE:\n");
-    while( dce )
+    for(dce = firstDCE; dce; dce = dce->next)
     {
-	DPRINTF("\t[0x%08x] hWnd %p, dcx %08x, %s %s\n",
-	     (unsigned)dce, dce->hwndCurrent, (unsigned)dce->DCXflags,
-	     (dce->DCXflags & DCX_CACHE) ? "Cache" : "Owned",
-	     (dce->DCXflags & DCX_DCEBUSY) ? "InUse" : "" );
-	dce = dce->next;
+	TRACE("\t[0x%08x] hWnd %p, dcx %08x, %s %s\n",
+	      (unsigned)dce, dce->hwndCurrent, (unsigned)dce->DCXflags,
+	      (dce->DCXflags & DCX_CACHE) ? "Cache" : "Owned",
+	      (dce->DCXflags & DCX_DCEBUSY) ? "InUse" : "" );
     }
 
     USER_Unlock();

-- 
Dimi.



More information about the wine-patches mailing list