Commit f2090cb4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite/tests: Fix fallback builder test skip.

parent 38d0aa68
......@@ -4672,17 +4672,15 @@ static void test_FontFallbackBuilder(void)
hr = IDWriteFactory_QueryInterface(factory, &IID_IDWriteFactory2, (void**)&factory2);
IDWriteFactory_Release(factory);
if (factory2) {
EXPECT_REF(factory2, 1);
hr = IDWriteFactory2_CreateFontFallbackBuilder(factory2, &builder);
EXPECT_REF(factory2, 2);
}
if (hr != S_OK) {
skip("IDWriteFontFallbackBuilder is not supported\n");
win_skip("IDWriteFontFallbackBuilder is not supported\n");
return;
}
EXPECT_REF(factory2, 1);
hr = IDWriteFactory2_CreateFontFallbackBuilder(factory2, &builder);
EXPECT_REF(factory2, 2);
fallback = NULL;
EXPECT_REF(factory2, 2);
EXPECT_REF(builder, 1);
......
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