riched20/tests: Fix test on 64-bit.

Huw Davies huw at codeweavers.com
Fri May 22 03:17:21 CDT 2015


---
 dlls/riched20/tests/richole.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/riched20/tests/richole.c b/dlls/riched20/tests/richole.c
index 5472ce1..51e5631 100644
--- a/dlls/riched20/tests/richole.c
+++ b/dlls/riched20/tests/richole.c
@@ -525,8 +525,11 @@ static void test_ITextSelection_GetText(void)
   hres = ITextSelection_GetText(txtSel, &bstr);
   ok(hres == CO_E_RELEASED, "got 0x%08x\n", hres);
 
-  hres = ITextSelection_GetText(txtSel, NULL);
-  ok(hres == CO_E_RELEASED, "got 0x%08x\n", hres);
+  if (!is64bit)
+  {
+    hres = ITextSelection_GetText(txtSel, NULL);
+    ok(hres == CO_E_RELEASED, "got 0x%08x\n", hres);
+  }
 
   ITextSelection_Release(txtSel);
 }
-- 
1.8.0




More information about the wine-patches mailing list