Commit 298f08d6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite/tests: Fix some test failures on older dwrite versions.

parent 4b38ced1
......@@ -2433,8 +2433,9 @@ static void test_CreateStreamFromKey(void)
hr = IDWriteLocalFontFileLoader_CreateStreamFromKey(localloader, key, size, &stream2);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(stream == stream2, "got %p, %p\n", stream, stream2);
EXPECT_REF(stream, 2);
ok(stream == stream2 || broken(stream != stream2) /* Win7 SP0 */, "got %p, %p\n", stream, stream2);
if (stream == stream2)
EXPECT_REF(stream, 2);
IDWriteFontFileStream_Release(stream);
IDWriteFontFileStream_Release(stream2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment