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

dwrite: Remove existing effective runs before evaluating them again.

parent c32a19f1
......@@ -1740,6 +1740,8 @@ static HRESULT layout_compute_effective_runs(struct dwrite_textlayout *layout)
if (!(layout->recompute & RECOMPUTE_LINES))
return S_OK;
free_layout_eruns(layout);
hr = layout_compute(layout);
if (FAILED(hr))
return hr;
......
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