riched20/tests: Fix test on 64-bit.

This commit is contained in:
Huw Davies 2015-05-22 09:17:21 +01:00 committed by Alexandre Julliard
parent 2a1ae98b55
commit 008ceb662d

View file

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