mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
dwrite: Use correct collection (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e81d495357
commit
64ccbcbf2f
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue