Huw Davies : riched20/tests: Fix test on 64-bit.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 22 04:48:25 CDT 2015
Module: wine
Branch: master
Commit: 008ceb662dd617feeea80273c5310fb09b9e046b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=008ceb662dd617feeea80273c5310fb09b9e046b
Author: Huw Davies <huw at codeweavers.com>
Date: Fri May 22 09:17:21 2015 +0100
riched20/tests: Fix test on 64-bit.
---
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);
}
More information about the wine-cvs
mailing list