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

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 12 09:08:19 CDT 2015


Module: wine
Branch: master
Commit: 5f35f1a8dbbc9dc3fa629a7f123e045e3320f562
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5f35f1a8dbbc9dc3fa629a7f123e045e3320f562

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue May 12 12:38:30 2015 +0200

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

---

 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;




More information about the wine-cvs mailing list