Francois Gouget : user32/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: 701c399fae5252cd17640170ea92457d9d202cf6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=701c399fae5252cd17640170ea92457d9d202cf6

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

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

---

 dlls/user32/tests/clipboard.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/tests/clipboard.c b/dlls/user32/tests/clipboard.c
index 40218be..01dbe93 100644
--- a/dlls/user32/tests/clipboard.c
+++ b/dlls/user32/tests/clipboard.c
@@ -150,8 +150,8 @@ todo_wine
 
         if (format_id < 0xc000)
             ok(!len, "GetClipboardFormatNameA should fail, but it returned %d (%s)\n", len, buf);
-        else
-            if (len) trace("%04x: %s\n", format_id, len ? buf : "");
+        else if (len && winetest_debug > 1)
+            trace("%04x: %s\n", format_id, len ? buf : "");
     }
 
     ret = OpenClipboard(0);




More information about the wine-cvs mailing list