[PATCH] devenum: Remove tabs and duplicate newlines from TRACE

Detlef Riekenberg wine.dev at web.de
Mon May 7 14:21:24 CDT 2012


---
 dlls/devenum/createdevenum.c |    5 ++---
 dlls/devenum/factory.c       |    4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/devenum/createdevenum.c b/dlls/devenum/createdevenum.c
index f4e8727..4a2e101 100644
--- a/dlls/devenum/createdevenum.c
+++ b/dlls/devenum/createdevenum.c
@@ -62,7 +62,7 @@ static HRESULT DEVENUM_CreateSpecialCategories(void);
 static HRESULT WINAPI DEVENUM_ICreateDevEnum_QueryInterface(ICreateDevEnum *iface, REFIID riid,
         void **ppv)
 {
-    TRACE("\n\tIID:\t%s\n",debugstr_guid(riid));
+    TRACE("(%p)->(%s, %p)\n", iface, debugstr_guid(riid), ppv);
 
     if (!ppv)
         return E_POINTER;
@@ -463,8 +463,7 @@ static HRESULT WINAPI DEVENUM_ICreateDevEnum_CreateClassEnumerator(
     HKEY hbasekey;
     HRESULT hr;
 
-    TRACE("(%p)->(%s, %p, %x)\n\tDeviceClass:\t%s\n", iface, debugstr_guid(clsidDeviceClass),
-          ppEnumMoniker, dwFlags, debugstr_guid(clsidDeviceClass));
+    TRACE("(%p)->(%s, %p, %x)\n", iface, debugstr_guid(clsidDeviceClass), ppEnumMoniker, dwFlags);
 
     if (!ppEnumMoniker)
         return E_POINTER;
diff --git a/dlls/devenum/factory.c b/dlls/devenum/factory.c
index 215eb3a..c808fa5 100644
--- a/dlls/devenum/factory.c
+++ b/dlls/devenum/factory.c
@@ -31,7 +31,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(devenum);
 static HRESULT WINAPI DEVENUM_IClassFactory_QueryInterface(IClassFactory *iface, REFIID riid,
     void **ppvObj)
 {
-    TRACE("\n\tIID:\t%s\n",debugstr_guid(riid));
+    TRACE("(%p)->(%s, %p)\n", iface, debugstr_guid(riid), ppvObj);
 
     if (ppvObj == NULL) return E_POINTER;
 
@@ -81,7 +81,7 @@ static ULONG WINAPI DEVENUM_IClassFactory_Release(IClassFactory *iface)
 static HRESULT WINAPI DEVENUM_IClassFactory_CreateInstance(IClassFactory *iface,
         IUnknown *pUnkOuter, REFIID riid, void **ppvObj)
 {
-    TRACE("\n\tIID:\t%s\n",debugstr_guid(riid));
+    TRACE("(%p)->(%p, %s, %p)\n", iface, pUnkOuter, debugstr_guid(riid), ppvObj);
 
     if (ppvObj == NULL) return E_POINTER;
 
-- 
1.7.5.4




More information about the wine-patches mailing list