Nikolay Sivov : ole32/tests: Fix return value trace.

Alexandre Julliard julliard at winehq.org
Thu Dec 12 16:29:42 CST 2019


Module: wine
Branch: master
Commit: 3cf31c86807f97a5d9cc93d1034f8e1c9eaa2f5e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3cf31c86807f97a5d9cc93d1034f8e1c9eaa2f5e

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Dec 12 14:38:59 2019 +0300

ole32/tests: Fix return value trace.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list