From 790c388fd19736832e95d8a3a13ffe15662e0b47 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 12 Nov 2016 12:43:02 +0000 Subject: [PATCH] [SHELL32_APITEST] - Don't compare a pointer to S_OK CORE-11794 svn path=/trunk/; revision=73210 --- rostests/apitests/shell32/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rostests/apitests/shell32/menu.cpp b/rostests/apitests/shell32/menu.cpp index dfccc101dfd..09e8a2bb15b 100644 --- a/rostests/apitests/shell32/menu.cpp +++ b/rostests/apitests/shell32/menu.cpp @@ -257,7 +257,7 @@ public: struct _test_info *result = &m_results[m_iCallback-1]; - ok(psmd != S_OK, "Got NULL psmd\n"); + ok(psmd != NULL, "Got NULL psmd\n"); ok(m_iTest == result->iTest, "Wrong test number (%d not %d)\n", m_iTest, result->iTest); ok(result->uMsg == uMsg, "%d: Got wrong uMsg (%d instead of %d)\n", m_iCallback, uMsg, result->uMsg);