dwrite/tests: Fix some test failures.

This commit is contained in:
Nikolay Sivov 2014-10-24 11:39:16 +04:00 committed by Alexandre Julliard
parent be089ba2ee
commit fefb947516
1 changed files with 2 additions and 2 deletions

View File

@ -940,9 +940,9 @@ if (file) {
/* local loader is not registered by default */
hr = IDWriteFactory_RegisterFontFileLoader(factory, loader);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(hr == S_OK || broken(hr == DWRITE_E_ALREADYREGISTERED), "got 0x%08x\n", hr);
hr = IDWriteFactory_UnregisterFontFileLoader(factory, loader);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(hr == S_OK || broken(hr == E_INVALIDARG), "got 0x%08x\n", hr);
IDWriteFontFileLoader_Release(loader);
}
ret = TRUE;