ole32/tests: Silence some clipboard traces that generate too many lines.

Francois Gouget fgouget at free.fr
Tue May 12 05:38:30 CDT 2015


To see them, set WINETEST_DEBUG=2 or higher.
---
 dlls/ole32/tests/clipboard.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c
index ce469a6..81b3a1c 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -129,7 +129,8 @@ static HRESULT WINAPI EnumFormatImpl_Next(IEnumFORMATETC *iface, ULONG celt,
     EnumFormatImpl *This = impl_from_IEnumFORMATETC(iface);
     ULONG count, i;
 
-    trace("next: count %d cur %d\n", celt, This->cur);
+    if (winetest_debug > 1)
+        trace("next: count %d cur %d\n", celt, This->cur);
 
     if(!rgelt)
         return E_INVALIDARG;
-- 
2.1.4




More information about the wine-patches mailing list