Commit 64ccbcbf authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dwrite: Use correct collection (Coverity).

parent e81d4953
......@@ -807,7 +807,7 @@ static HRESULT layout_compute_runs(struct dwrite_textlayout *layout)
else
IDWriteFactory_GetSystemFontCollection((IDWriteFactory*)layout->factory, &collection, FALSE);
hr = create_matching_font(range->collection, range->fontfamily, range->weight,
hr = create_matching_font(collection, range->fontfamily, range->weight,
range->style, range->stretch, &font);
IDWriteFontCollection_Release(collection);
......
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