From: Paul Gofman <pgofman@codeweavers.com> --- dlls/dwrite/analyzer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c index db8e7f8ffd8..f6c2fe8146e 100644 --- a/dlls/dwrite/analyzer.c +++ b/dlls/dwrite/analyzer.c @@ -2553,14 +2553,13 @@ static HRESULT fallback_map_characters(const struct dwrite_fontfallback *fallbac if (SUCCEEDED(create_matching_font(mapping->collection ? mapping->collection : fallback->systemcollection, mapping->families[i], weight, style, stretch, &IID_IDWriteFont3, (void **)&font))) { - if (!(mapped = fallback_font_get_supported_length(font, source, position, mapped))) + if (!(*ret_length = fallback_font_get_supported_length(font, source, position, mapped))) { IDWriteFont3_Release(font); continue; } *ret_font = (IDWriteFont *)font; - *ret_length = mapped; *scale = mapping->scale; return S_OK; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10388