[PATCH] ole32/tests: Fix return value trace.

Nikolay Sivov nsivov at codeweavers.com
Thu Dec 12 05:38:59 CST 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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 8901758034..b97c2646bf 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -1014,7 +1014,8 @@ static void test_set_clipboard(void)
     test_cf_dataobject(data_cmpl);
     test_enum_fmtetc(data_cmpl);
 
-    ok(OleSetClipboard(NULL) == S_OK, "failed to clear clipboard, hr = 0x%08x\n", hr);
+    hr = OleSetClipboard(NULL);
+    ok(hr == S_OK, "failed to clear clipboard, hr = 0x%08x.\n", hr);
 
     test_no_cf_dataobject();
     test_enum_fmtetc(NULL);
-- 
2.24.0




More information about the wine-devel mailing list